mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
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