feat(secret): add user_password

This commit is contained in:
2026-03-07 17:14:20 +01:00
parent 46d1bfe57e
commit 8dac4d9426
3 changed files with 9 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
pkgs,
currentSystemUser,
currentSystemDe,
config,
...
}:
{
@@ -51,13 +52,14 @@
users.users.${currentSystemUser} = {
isNormalUser = true;
description = "Patrick Canal";
shell = pkgs.fish;
hashedPasswordFile = config.sops.secrets.user_password.path;
extraGroups = [
"networkmanager"
"wheel"
"docker"
"libvirtd"
];
shell = pkgs.fish;
};
nix.settings = {