nixos-config/2configs/secrets/wbob-users.nix

9 lines
305 B
Nix
Raw Normal View History

2023-07-11 12:22:57 +02:00
{ 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;
}