mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: set up declarative password with sops
This commit is contained in:
parent
05ea17564f
commit
882c220bef
1 changed files with 33 additions and 28 deletions
|
|
@ -22,34 +22,39 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users.${user0} = {
|
users = {
|
||||||
description = name;
|
"root" = {
|
||||||
name = user0;
|
hashedPasswordFile = config.sops.secrets."passwords/user0".path;
|
||||||
isNormalUser = true;
|
};
|
||||||
shell = pkgs.nushell;
|
${user0} = {
|
||||||
hashedPasswordFile = config.sops.secrets."passwords/user0".path;
|
description = name;
|
||||||
extraGroups = [
|
name = user0;
|
||||||
"adbusers"
|
isNormalUser = true;
|
||||||
"caddy"
|
shell = pkgs.nushell;
|
||||||
"disk"
|
hashedPasswordFile = config.sops.secrets."passwords/user0".path;
|
||||||
"jellyfin"
|
extraGroups = [
|
||||||
"libvirtd"
|
"adbusers"
|
||||||
"minecraft"
|
"caddy"
|
||||||
"netdev"
|
"disk"
|
||||||
"networkmanager"
|
"jellyfin"
|
||||||
"ollama"
|
"libvirtd"
|
||||||
"opencloud"
|
"minecraft"
|
||||||
"plugdev"
|
"netdev"
|
||||||
"docker"
|
"networkmanager"
|
||||||
"postgres"
|
"ollama"
|
||||||
"redis-mastodon"
|
"opencloud"
|
||||||
"samba"
|
"plugdev"
|
||||||
"syncthing"
|
"docker"
|
||||||
"vaultwarden"
|
"postgres"
|
||||||
"vboxusers"
|
"redis-mastodon"
|
||||||
"wheel"
|
"samba"
|
||||||
"comfyui"
|
"syncthing"
|
||||||
];
|
"vaultwarden"
|
||||||
|
"vboxusers"
|
||||||
|
"wheel"
|
||||||
|
"comfyui"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue