Make user password a per-machine configuration

This commit is contained in:
Vili Sinervä 2025-06-21 17:09:24 +03:00
parent 9e59881b3c
commit 1a24fba066
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
2 changed files with 26 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{ config, ... }:
{
sops.secrets.vili-password = {
sopsFile = ../../secrets/users/vili.yaml;
sopsFile = ../../secrets/${config.networking.hostName}/vili.yaml;
neededForUsers = true;
};