nix-configs/modules/common/sops.nix

8 lines
275 B
Nix
Raw Normal View History

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