mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
heyefi service: use mkEnableOption
This commit is contained in:
parent
d6cee31b04
commit
d11edff860
@ -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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user