@@ -82,12 +82,7 @@ in
8282
8383 services.xtreemfs = {
8484
85− enable = mkOption {
86− default = false;
87− description = ''
88− Whether to enable XtreemFS.
89− '';
90− };
85+ enable = mkEnableOption "XtreemFS";
9186
9287 homeDir = mkOption {
9388 default = "/var/lib/xtreemfs";
@@ -169,12 +164,7 @@ in
169164 '';
170165 };
171166 replication = {
172− enable = mkOption {
173− default = false;
174− description = ''
175− Whether to enable XtreemFS DIR replication plugin.
176− '';
177− };
167+ enable = mkEnableOption "XtreemFS DIR replication plugin";
178168 extraConfig = mkOption {
179169 example = ''
180170 # participants of the replication including this replica
@@ -308,12 +298,7 @@ in
308298 '';
309299 };
310300 replication = {
311− enable = mkOption {
312− default = false;
313− description = ''
314− Whether to enable XtreemFS MRC replication plugin.
315− '';
316− };
301+ enable = mkEnableOption "XtreemFS MRC replication plugin";
317302 extraConfig = mkOption {
318303 example = ''
319304 # participants of the replication including this replica