diff --git a/modules/shared/syscfg/server.nix b/modules/shared/syscfg/server.nix index b72ee84..0253134 100644 --- a/modules/shared/syscfg/server.nix +++ b/modules/shared/syscfg/server.nix @@ -34,7 +34,7 @@ in with lib; { setup = { trigger = lib.mkOption {type = lib.types.str; default = "";}; script = lib.mkOption {type = lib.types.nullOr lib.types.package; default = null;}; - envFile = lib.mkOption {type = lib.types.nullOr lib.types.str; default = null;}; + envFile = lib.mkOption {type = with lib.types; coercedTo str (x: [x]) (listOf str); default = [];}; }; }; }));