From 97e0f7275966cfab018aaee1a0d1e5ce74cd8901 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 5 Sep 2024 10:35:57 +0100 Subject: [PATCH] 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. --- modules/users/group.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/users/group.nix b/modules/users/group.nix index 1dc26f1f..0e74085d 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."; };