11 lines
257 B
Nix
Executable File
11 lines
257 B
Nix
Executable File
{ 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}
|
|
'';
|
|
}
|