nixos/telegraf: null value for environmentFiles is invalid
it's also not needed given that empty list covers all use cases.
commit69caedcc4240f1a70d28cec6bf2c67d0f2ade8a0
authorJörg Thalheim <joerg@thalheim.io>
dateWed 18 Nov 2020, 21:29 (6 years ago)
parente4883cb
nixos/modules/services/monitoring/telegraf.nix+1−1
@@ -21,7 +21,7 @@ in {
2121 };
2222
2323 environmentFiles = mkOption {
24− type = types.nullOr (types.listOf types.path);
24+ type = types.listOf types.path;
2525 default = [];
2626 example = "/run/keys/telegraf.env";
2727 description = ''