nixos-config/2configs/secrets/wbob-users.nix
2023-07-11 12:28:15 +02:00

9 lines
305 B
Nix

{ config, lib, ... }:
{
sops.secrets."passwd/kiosk".neededForUsers = true;
users.users.kiosk.passwordFile = config.sops.secrets."passwd/kiosk".path;
# override the password for root@wbob to the kiosk password
users.users.root.passwordFile = lib.mkForce config.sops.secrets."passwd/kiosk".path;
}