diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-07-06 20:01:43 +0200 |
---|---|---|
committer | Matthieu Coudron <coudron@iij.ad.jp> | 2019-07-07 14:49:39 +0200 |
commit | beff2f8d75ef2c65017fb25e251337c6bb2e950d (patch) | |
tree | 1118976b1bfbf90784b2532b9abc0a05c3911af4 | |
parent | e6e58a2122cac905628788b30d34e63322d43519 (diff) | |
download | nixpkgs-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.nix | 2 |
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"; }; |