feat: static UIDs

This commit is contained in:
arcnmx 2024-02-09 06:22:32 -08:00
parent 6671103eba
commit 602eda1012
13 changed files with 102 additions and 34 deletions

View file

@ -16,8 +16,14 @@
'';
in {
users.users.${username} = {
uid = 4000;
hashedPasswordFile = config.sops.secrets.tf-proxmox-passwd.path;
isNormalUser = true;
autoSubUidGidRange = false;
group = username;
};
users.groups.${username} = {
gid = config.users.users.${username}.uid;
};
services.openssh = {