about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2015-07-14 06:54:51 -0700
committerRyan Mulligan <ryan@ryantm.com>2015-07-14 06:54:51 -0700
commitd11edff86088569e82d3947227cae96790438494 (patch)
tree46d1d0a0693e30195eefcc85b8f3d67ecd99a7a3 /nixos
parentd6cee31b04d038785139360fee8988c422baeb53 (diff)
downloadnixlib-d11edff86088569e82d3947227cae96790438494.tar
nixlib-d11edff86088569e82d3947227cae96790438494.tar.gz
nixlib-d11edff86088569e82d3947227cae96790438494.tar.bz2
nixlib-d11edff86088569e82d3947227cae96790438494.tar.lz
nixlib-d11edff86088569e82d3947227cae96790438494.tar.xz
nixlib-d11edff86088569e82d3947227cae96790438494.tar.zst
nixlib-d11edff86088569e82d3947227cae96790438494.zip
heyefi service: use mkEnableOption
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/heyefi.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/nixos/modules/services/networking/heyefi.nix b/nixos/modules/services/networking/heyefi.nix
index 741851a8ff47..0f55c1a5b8f6 100644
--- a/nixos/modules/services/networking/heyefi.nix
+++ b/nixos/modules/services/networking/heyefi.nix
@@ -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 = ''