summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-07-06 20:01:43 +0200
committerMatthieu Coudron <coudron@iij.ad.jp>2019-07-07 14:49:39 +0200
commitbeff2f8d75ef2c65017fb25e251337c6bb2e950d (patch)
tree1118976b1bfbf90784b2532b9abc0a05c3911af4
parente6e58a2122cac905628788b30d34e63322d43519 (diff)
downloadnixpkgs-beff2f8d75ef2c65017fb25e251337c6bb2e950d.tar
nixpkgs-beff2f8d75ef2c65017fb25e251337c6bb2e950d.tar.gz
nixpkgs-beff2f8d75ef2c65017fb25e251337c6bb2e950d.tar.bz2
nixpkgs-beff2f8d75ef2c65017fb25e251337c6bb2e950d.tar.lz
nixpkgs-beff2f8d75ef2c65017fb25e251337c6bb2e950d.tar.xz
nixpkgs-beff2f8d75ef2c65017fb25e251337c6bb2e950d.tar.zst
nixpkgs-beff2f8d75ef2c65017fb25e251337c6bb2e950d.zip
nixos/graylog: use `types.lines` for extraConfig
The `types.lines` type makes it possible to define `extraConfig` in
multiple files and simply concat the contents.
-rw-r--r--nixos/modules/services/logging/graylog.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/logging/graylog.nix b/nixos/modules/services/logging/graylog.nix
index ee566825498..c8c4a9ff06d 100644
--- a/nixos/modules/services/logging/graylog.nix
+++ b/nixos/modules/services/logging/graylog.nix
@@ -108,7 +108,7 @@ in
       };
 
       extraConfig = mkOption {
-        type = types.str;
+        type = types.lines;
         default = "";
         description = "Any other configuration options you might want to add";
       };