Move helium to sops-nix

This commit is contained in:
Vili Sinervä 2025-06-21 14:03:46 +03:00
parent 924f738618
commit ec685a2e86
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
8 changed files with 161 additions and 41 deletions

View file

@ -1,5 +1,10 @@
{ config, ... }:
{
sops.secrets.vili-password = {
sopsFile = ../../secrets/users/vili.yaml;
neededForUsers = true;
};
users.users.vili = {
isNormalUser = true;
home = "/home/vili";
@ -11,7 +16,7 @@
"audio"
];
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
hashedPasswordFile = "/persist/secrets/hashed-passwords/vili";
hashedPasswordFile = config.sops.secrets.vili-password.path;
};
users.groups.vili.gid = 1000;