nixos/modules/crans/sops.nix

9 lines
219 B
Nix

{ sops-nix, ... }: {
imports = [
sops-nix.nixosModules.sops
];
# This will automatically import host ssh key as age key for secret description.
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
}