Compare commits
3 commits
39f4680381
...
010697f873
Author | SHA1 | Date | |
---|---|---|---|
010697f873 | |||
bde4393960 | |||
32e6c40e3e |
1 changed files with 1 additions and 3 deletions
|
@ -84,17 +84,15 @@
|
|||
};
|
||||
owner = lib.mkOption {
|
||||
description = "The user name or id that will own the file.";
|
||||
type = lib.types.str;
|
||||
default = "root";
|
||||
};
|
||||
group = lib.mkOption {
|
||||
description = "The group name or id that will own the file.";
|
||||
type = lib.types.str;
|
||||
default = "root";
|
||||
};
|
||||
mode = lib.mkOption {
|
||||
description = "The unix file mode of the file. Must be a 4-digit octal number.";
|
||||
type = lib.types.strMatching "^[0-7]{4}$";
|
||||
description = "The unix file mode of the file. Must be a 4-digit octal number.";
|
||||
default = if file.config.group == "root" then "0400" else "0440";
|
||||
};
|
||||
deploy = lib.mkOption {
|
||||
|
|
Loading…
Add table
Reference in a new issue