summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 2efa5a68..ffae8c7b 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -542,6 +542,13 @@ rec {
merge = mergeOneOption;
};
+ # POSIX.1‐2017, 3.190 Group Name
+ groupname = mkOptionType {
+ name = "POSIX group name";
+ check = filename.check;
+ merge = mergeOneOption;
+ };
+
# POSIX.1‐2017, 3.281 Portable Filename
filename = mkOptionType {
name = "POSIX portable filename";