Move helium to sops-nix
This commit is contained in:
parent
924f738618
commit
ec685a2e86
8 changed files with 161 additions and 41 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue