git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitbeff2f8d75ef2c65017fb25e251337c6bb2e950d authorMaximilian Bosch <maximilian@mbosch.me> dateSat 6 Jul 2019, 20:01 (7 years ago) parente6e58a2
1 file changed+1−1
nixos/modules/services/logging/graylog.nix+1−1
nixos/modules/services/logging/graylog.nix+1−1
@@ -108,7 +108,7 @@ in
108108 };
109109
110110 extraConfig = mkOption {
111− type = types.str;
111+ type = types.lines;
112112 default = "";
113113 description = "Any other configuration options you might want to add";
114114 };