summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems/xtreemfs.nix
diff options
context:
space:
mode:
authorEmery Hemingway <emery@vfemail.net>2016-10-23 19:33:41 +0200
committerEmery Hemingway <emery@vfemail.net>2016-10-23 19:41:43 +0200
commitb67561939154eab53d10943f2eb255b9822194d3 (patch)
treeb1d139412197735da1a68d5c0c124c745d22de85 /nixos/modules/services/network-filesystems/xtreemfs.nix
parent795f968b17bca52f2e16ce16c4534c8a12cf85d8 (diff)
downloadnixpkgs-b67561939154eab53d10943f2eb255b9822194d3.tar
nixpkgs-b67561939154eab53d10943f2eb255b9822194d3.tar.gz
nixpkgs-b67561939154eab53d10943f2eb255b9822194d3.tar.bz2
nixpkgs-b67561939154eab53d10943f2eb255b9822194d3.tar.lz
nixpkgs-b67561939154eab53d10943f2eb255b9822194d3.tar.xz
nixpkgs-b67561939154eab53d10943f2eb255b9822194d3.tar.zst
nixpkgs-b67561939154eab53d10943f2eb255b9822194d3.zip
nixos: use types.lines for extraConfig
Diffstat (limited to 'nixos/modules/services/network-filesystems/xtreemfs.nix')
-rw-r--r--nixos/modules/services/network-filesystems/xtreemfs.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/network-filesystems/xtreemfs.nix b/nixos/modules/services/network-filesystems/xtreemfs.nix
index b051214e1d0..0c6714563d8 100644
--- a/nixos/modules/services/network-filesystems/xtreemfs.nix
+++ b/nixos/modules/services/network-filesystems/xtreemfs.nix
@@ -153,6 +153,7 @@ in
           '';
         };
         extraConfig = mkOption {
+          type = types.lines;
           default = "";
           example = ''
             # specify whether SSL is required
@@ -173,6 +174,7 @@ in
         replication = {
           enable = mkEnableOption "XtreemFS DIR replication plugin";
           extraConfig = mkOption {
+            type = types.lines;
             example = ''
               # participants of the replication including this replica
               babudb.repl.participant.0 = 192.168.0.10
@@ -269,6 +271,7 @@ in
           '';
         };
         extraConfig = mkOption {
+          type = types.lines;
           example = ''
             osd_check_interval = 300
             no_atime = true
@@ -307,6 +310,7 @@ in
         replication = {
           enable = mkEnableOption "XtreemFS MRC replication plugin";
           extraConfig = mkOption {
+            type = types.lines;
             example = ''
               # participants of the replication including this replica
               babudb.repl.participant.0 = 192.168.0.10
@@ -385,6 +389,7 @@ in
           '';
         };
         extraConfig = mkOption {
+          type = types.lines;
           example = ''
             local_clock_renewal = 0
             remote_time_sync = 30000