nixos-config/home/modules/sops.nix
2024-07-03 17:52:10 +02:00

18 lines
288 B
Nix

{
inputs,
config,
lib,
...
}: {
sops = {
defaultSopsFile = ../../secrets.yaml;
validateSopsFiles = false;
age = {
sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
keyFile = "/home/xqtc/.config/sops/age/keys.txt";
generateKey = true;
};
};
}