heyefi service: use mkEnableOption

Changed files
+2 -7
nixos
modules
services
networking
+2 -7
nixos/modules/services/networking/heyefi.nix
···
services.heyefi = {
+
enable = mkEnableOption "heyefi";
+
cardMacaddress = mkOption {
default = "";
description = ''
···
description = ''
The directory to upload the files to.
'';
-
};
-
-
enable = mkOption {
-
default = false;
-
description = ''
-
Enable heyefi, an Eye-Fi upload server.
-
'';
};
user = mkOption {