mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: static UIDs
This commit is contained in:
parent
6671103eba
commit
602eda1012
13 changed files with 102 additions and 34 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue