From beff2f8d75ef2c65017fb25e251337c6bb2e950d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 6 Jul 2019 20:01:43 +0200 Subject: [PATCH] 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. --- nixos/modules/services/logging/graylog.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; };