heyefi service: use mkEnableOption

This commit is contained in:
Ryan Mulligan 2015-07-14 06:54:51 -07:00
parent d6cee31b04
commit d11edff860

View File

@ -15,6 +15,8 @@ in
services.heyefi = { services.heyefi = {
enable = mkEnableOption "heyefi";
cardMacaddress = mkOption { cardMacaddress = mkOption {
default = ""; default = "";
description = '' description = ''
@ -36,13 +38,6 @@ in
''; '';
}; };
enable = mkOption {
default = false;
description = ''
Enable heyefi, an Eye-Fi upload server.
'';
};
user = mkOption { user = mkOption {
default = "root"; default = "root";
description = '' description = ''