Set lillian's password declaratively on EDI
This commit is contained in:
parent
23e5969c3f
commit
a3961b0bde
2 changed files with 12 additions and 3 deletions
|
@ -30,6 +30,15 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
sops.defaultSopsFile = ./secrets/sops.yaml;
|
||||
sops.age.keyFile = ../../../../../../var/secrets/keys.txt;
|
||||
|
||||
sops.secrets."lillian-password".neededForUsers = true;
|
||||
|
||||
users.users.lillian = {
|
||||
hashedPasswordFile = config.sops.secrets."lillian-password".path;
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
users = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue