summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems/xtreemfs.nix
diff options
context:
space:
mode:
authorMatej Cotman <cotman.matej@gmail.com>2015-09-14 02:21:10 +0200
committerMatej Cotman <cotman.matej@gmail.com>2015-09-22 21:46:52 +0200
commita35cebb3b1789797e4e0102bc8da9d694b55abef (patch)
tree600fc606bd9954e5eb3e40c9fd8c823fa2b54fe4 /nixos/modules/services/network-filesystems/xtreemfs.nix
parentd31cc0d19ae058b15095296d435a722d6afd87fa (diff)
downloadnixpkgs-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.nix21
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