diff options
author | Matej Cotman <cotman.matej@gmail.com> | 2015-09-14 02:21:10 +0200 |
---|---|---|
committer | Matej Cotman <cotman.matej@gmail.com> | 2015-09-22 21:46:52 +0200 |
commit | a35cebb3b1789797e4e0102bc8da9d694b55abef (patch) | |
tree | 600fc606bd9954e5eb3e40c9fd8c823fa2b54fe4 /nixos/modules/services/network-filesystems/xtreemfs.nix | |
parent | d31cc0d19ae058b15095296d435a722d6afd87fa (diff) | |
download | nixpkgs-a35cebb3b1789797e4e0102bc8da9d694b55abef.tar nixpkgs-a35cebb3b1789797e4e0102bc8da9d694b55abef.tar.gz nixpkgs-a35cebb3b1789797e4e0102bc8da9d694b55abef.tar.bz2 nixpkgs-a35cebb3b1789797e4e0102bc8da9d694b55abef.tar.lz nixpkgs-a35cebb3b1789797e4e0102bc8da9d694b55abef.tar.xz nixpkgs-a35cebb3b1789797e4e0102bc8da9d694b55abef.tar.zst nixpkgs-a35cebb3b1789797e4e0102bc8da9d694b55abef.zip |
xtreemfs: use mkEnableOption instead of mkOption
Diffstat (limited to 'nixos/modules/services/network-filesystems/xtreemfs.nix')
-rw-r--r-- | nixos/modules/services/network-filesystems/xtreemfs.nix | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/nixos/modules/services/network-filesystems/xtreemfs.nix b/nixos/modules/services/network-filesystems/xtreemfs.nix index 215b76bb470..2d57464ce04 100644 --- a/nixos/modules/services/network-filesystems/xtreemfs.nix +++ b/nixos/modules/services/network-filesystems/xtreemfs.nix @@ -82,12 +82,7 @@ in services.xtreemfs = { - enable = mkOption { - default = false; - description = '' - Whether to enable XtreemFS. - ''; - }; + enable = mkEnableOption "XtreemFS"; homeDir = mkOption { default = "/var/lib/xtreemfs"; @@ -169,12 +164,7 @@ in ''; }; replication = { - enable = mkOption { - default = false; - description = '' - Whether to enable XtreemFS DIR replication plugin. - ''; - }; + enable = mkEnableOption "XtreemFS DIR replication plugin"; extraConfig = mkOption { example = '' # participants of the replication including this replica @@ -308,12 +298,7 @@ in ''; }; replication = { - enable = mkOption { - default = false; - description = '' - Whether to enable XtreemFS MRC replication plugin. - ''; - }; + enable = mkEnableOption "XtreemFS MRC replication plugin"; extraConfig = mkOption { example = '' # participants of the replication including this replica |