nixos-config/config/sops.nix

5 lines
160 B
Nix

{ config, ... }:
{
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.defaultSopsFile = ../secrets + "/${config.networking.hostName}.yaml";
}