nix-configs/modules/common/sops.nix

9 lines
275 B
Nix
Raw Normal View History

2024-09-05 19:08:29 -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;
}