Add type to group and owner vars options
This commit is contained in:
@@ -290,9 +290,11 @@ in
|
|||||||
};
|
};
|
||||||
owner = mkOption {
|
owner = mkOption {
|
||||||
description = "The user name or id that will own the file.";
|
description = "The user name or id that will own the file.";
|
||||||
|
type = str;
|
||||||
default = "root";
|
default = "root";
|
||||||
};
|
};
|
||||||
group = mkOption {
|
group = mkOption {
|
||||||
|
type = str;
|
||||||
description = "The group name or id that will own the file.";
|
description = "The group name or id that will own the file.";
|
||||||
default = if _class == "darwin" then "wheel" else "root";
|
default = if _class == "darwin" then "wheel" else "root";
|
||||||
defaultText = lib.literalExpression ''if _class == "darwin" then "wheel" else "root"'';
|
defaultText = lib.literalExpression ''if _class == "darwin" then "wheel" else "root"'';
|
||||||
|
|||||||
Reference in New Issue
Block a user