nix-configs/modules/common/sops.nix

8 lines
268 B
Nix
Raw Normal View History

2024-04-26 14:14:50 -04:00
{ inputs, ... } : {
imports = [ inputs.sops-nix.nixosModules.sops ];
sops.defaultSopsFile = ../../secrets/secret.yaml;
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
sops.age.generateKey = true;
}