clanCore/vars: allow mode to be set
fmt
This commit is contained in:
committed by
Jörg Thalheim
parent
b6777cac93
commit
4117eb2f37
@@ -276,9 +276,9 @@ in
|
||||
defaultText = lib.literalExpression ''if _class == "darwin" then "wheel" else "root"'';
|
||||
};
|
||||
mode = lib.mkOption {
|
||||
type = lib.types.strMatching "^[0-7]{3}$";
|
||||
description = "The unix file mode of the file. Must be a 3-digit octal number.";
|
||||
default = "400";
|
||||
type = lib.types.strMatching "^[0-7]{4}$";
|
||||
description = "The unix file mode of the file. Must be a 4-digit octal number.";
|
||||
default = "0400";
|
||||
};
|
||||
value =
|
||||
lib.mkOption {
|
||||
|
||||
Reference in New Issue
Block a user