nixos/telegraf: null value for environmentFiles is invalid

it's also not needed given that empty list covers all use cases.
This commit is contained in:
Jörg Thalheim 2020-11-18 21:29:12 +01:00
parent e4883cb78e
commit 69caedcc42
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -21,7 +21,7 @@ in {
};
environmentFiles = mkOption {
type = types.nullOr (types.listOf types.path);
type = types.listOf types.path;
default = [];
example = "/run/keys/telegraf.env";
description = ''