Add type to group and owner vars options

This commit is contained in:
pinpox
2025-08-19 22:46:30 +02:00
parent c0ffb17e00
commit b27ff67a14

View File

@@ -290,9 +290,11 @@ in
};
owner = mkOption {
description = "The user name or id that will own the file.";
type = str;
default = "root";
};
group = mkOption {
type = str;
description = "The group name or id that will own the file.";
default = if _class == "darwin" then "wheel" else "root";
defaultText = lib.literalExpression ''if _class == "darwin" then "wheel" else "root"'';