summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 2efa5a68a..ffae8c7bc 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";