time to officially add /that/ system user
This commit is contained in:
parent
8bc8a49383
commit
ccb32a88e0
1 changed files with 37 additions and 21 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue