xtreemfs: use mkEnableOption instead of mkOption
This commit is contained in:
parent
d31cc0d19a
commit
a35cebb3b1
@ -82,12 +82,7 @@ in
|
|||||||
|
|
||||||
services.xtreemfs = {
|
services.xtreemfs = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkEnableOption "XtreemFS";
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether to enable XtreemFS.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
homeDir = mkOption {
|
homeDir = mkOption {
|
||||||
default = "/var/lib/xtreemfs";
|
default = "/var/lib/xtreemfs";
|
||||||
@ -169,12 +164,7 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
replication = {
|
replication = {
|
||||||
enable = mkOption {
|
enable = mkEnableOption "XtreemFS DIR replication plugin";
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether to enable XtreemFS DIR replication plugin.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
example = ''
|
example = ''
|
||||||
# participants of the replication including this replica
|
# participants of the replication including this replica
|
||||||
@ -308,12 +298,7 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
replication = {
|
replication = {
|
||||||
enable = mkOption {
|
enable = mkEnableOption "XtreemFS MRC replication plugin";
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether to enable XtreemFS MRC replication plugin.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
example = ''
|
example = ''
|
||||||
# participants of the replication including this replica
|
# participants of the replication including this replica
|
||||||
|
Loading…
x
Reference in New Issue
Block a user