time to officially add /that/ system user

This commit is contained in:
Joseph Hanson 2024-09-12 10:16:24 -05:00
parent 8bc8a49383
commit ccb32a88e0
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -10,13 +10,27 @@ in
}; };
}; };
users.users.jahanson = { users = {
groups = {
kah = {
gid = 568;
};
};
users = {
kah = {
isSystemUser = true;
group = "kah";
uid = 568;
};
jahanson = {
isNormalUser = true; isNormalUser = true;
shell = pkgs.fish; shell = pkgs.fish;
hashedPasswordFile = config.sops.secrets.jahanson-password.path; hashedPasswordFile = config.sops.secrets.jahanson-password.path;
extraGroups = extraGroups =
[ [
"wheel" "wheel"
"kah"
] ]
++ ifTheyExist [ ++ ifTheyExist [
"network" "network"
@ -33,4 +47,6 @@ in
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILcLI5qN69BuoLp8p7nTYKoLdsBNmZB31OerZ63Car1g jahanson@telchar" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILcLI5qN69BuoLp8p7nTYKoLdsBNmZB31OerZ63Car1g jahanson@telchar"
]; ];
}; };
};
};
} }