Merge pull request 'Add type to group and owner vars options' (#4819) from fix-4814 into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4819
Reviewed-by: lassulus <clanlol@lassul.us>
This commit is contained in:
lassulus
2025-08-19 21:13:51 +00:00

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"'';