From c75ec60995d1a8f081fd48dfb183bfc6af880a2c Mon Sep 17 00:00:00 2001 From: chn Date: Mon, 2 Sep 2024 23:14:25 +0800 Subject: [PATCH] modules.user: persistent subuidgid config --- modules/user/chn/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/user/chn/default.nix b/modules/user/chn/default.nix index d15797cd..c710f896 100644 --- a/modules/user/chn/default.nix +++ b/modules/user/chn/default.nix @@ -8,7 +8,8 @@ inputs: extraGroups = inputs.lib.intersectLists [ "adbusers" "networkmanager" "wheel" "wireshark" "libvirtd" "ipfs" ] (builtins.attrNames inputs.config.users.groups); - autoSubUidGidRange = true; + subUidRanges = [{ start = 100000; count = 65536; } ]; + subGidRanges = [{ start = 100000; count = 65536; } ]; hashedPassword = "$y$j9T$xJwVBoGENJEDSesJ0LfkU1$VEExaw7UZtFyB4VY1yirJvl7qS7oiF49KbEBrV0.hhC"; }; home-manager.users.chn =