modules.user: persistent subuidgid config

This commit is contained in:
陈浩南 2024-09-02 23:14:25 +08:00
parent e87911fef0
commit c75ec60995

View File

@ -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 =