This commit is contained in:
mjallen18
2025-01-30 20:14:36 -06:00
parent 88c98a2230
commit b25fd960c6
8 changed files with 133 additions and 111 deletions

10
hosts/pi4/sops.nix Normal file
View File

@@ -0,0 +1,10 @@
{ 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}
'';
}