Files
nix-config/hosts/pi4/sops.nix
mjallen18 b25fd960c6 pi4
2025-01-30 20:14:36 -06:00

11 lines
257 B
Nix

{ config, ... }:
{
sops.defaultSopsFile = ../../secrets/secrets.yaml;
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.secrets."wifi" = { };
sops.templates."wifi-password".content = ''
${config.sops.secrets."wifi".path}
'';
}