type fix
This commit is contained in:
@@ -34,7 +34,7 @@ in with lib; {
|
|||||||
setup = {
|
setup = {
|
||||||
trigger = lib.mkOption {type = lib.types.str; default = "";};
|
trigger = lib.mkOption {type = lib.types.str; default = "";};
|
||||||
script = lib.mkOption {type = lib.types.nullOr lib.types.package; default = null;};
|
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 = [];};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user