feat: Finished user setup
This commit is contained in:
parent
588bea133c
commit
34f179465d
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -12,13 +12,23 @@
|
|||||||
# Machine hostname
|
# Machine hostname
|
||||||
networking.hostName = "ws-think";
|
networking.hostName = "ws-think";
|
||||||
|
|
||||||
# Admin users
|
# Set up users
|
||||||
users.users.jan.extraGroups = [
|
sops.secrets."passwords/jan-hashed" = {
|
||||||
"wheel"
|
sopsFile = "${inputs.secrets}/secrets/ws-think.enc.yaml";
|
||||||
"wireshark"
|
neededForUsers = true;
|
||||||
"podman"
|
};
|
||||||
"libvirtd"
|
users.mutableUsers = false;
|
||||||
];
|
users.users.Jan = {
|
||||||
|
hashedPasswordFile = config.sops.secrets."passwords/jan-hashed".path;
|
||||||
|
# Extra admin groups
|
||||||
|
# TODO: Streamline setup of this
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"wireshark"
|
||||||
|
"podman"
|
||||||
|
"libvirtd"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Set up kerberos
|
# Set up kerberos
|
||||||
security.krb5 = {
|
security.krb5 = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user