heyefi service: use mkEnableOption
This commit is contained in:
parent
d6cee31b04
commit
d11edff860
@ -15,6 +15,8 @@ in
|
||||
|
||||
services.heyefi = {
|
||||
|
||||
enable = mkEnableOption "heyefi";
|
||||
|
||||
cardMacaddress = mkOption {
|
||||
default = "";
|
||||
description = ''
|
||||
@ -36,13 +38,6 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
description = ''
|
||||
Enable heyefi, an Eye-Fi upload server.
|
||||
'';
|
||||
};
|
||||
|
||||
user = mkOption {
|
||||
default = "root";
|
||||
description = ''
|
||||
|
Loading…
Reference in New Issue
Block a user