summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2024-09-05 10:35:57 +0100
committerEmily <vcs@emily.moe>2024-09-05 10:39:01 +0100
commit97e0f7275966cfab018aaee1a0d1e5ce74cd8901 (patch)
tree5e95606d8710e4ac3011d96ee74da7c3594b72c5 /modules
parent92bd25c29f3be33bc0d47acb7b5db0cae43bb7d3 (diff)
users: allow arbitrary group IDs
The upstream Nix UID/GID changes for Sequoia will require us to manage a group with GID 350. That will require more work on our end to ensure compatibility and a working migration path, but this is enough to allow hacking around it locally in system configurations for now.
Diffstat (limited to 'modules')
-rw-r--r--modules/users/group.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/users/group.nix b/modules/users/group.nix
index 1dc26f1..0e74085 100644
--- a/modules/users/group.nix
+++ b/modules/users/group.nix
@@ -13,10 +13,7 @@ with lib;
};
gid = mkOption {
- type = mkOptionType {
- name = "gid";
- check = t: isInt t && t > 501;
- };
+ type = types.int;
description = "The group's GID.";
};