1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Add option for sshKeyPaths in sops

This commit is contained in:
Stefan Ellmauthaler 2022-05-31 16:22:47 +02:00
parent d2f9a557f0
commit 12b4c4c013
Failed to extract signature

View File

@ -12,6 +12,10 @@ with lib; {
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
age.keyFile = "/var/lib/sops-nix/key.txt"; age.keyFile = "/var/lib/sops-nix/key.txt";
age.generateKey = true; age.generateKey = true;
gnupg.sshKeyPaths = [
../secrets/keys/users
../secrets/keys/hosts
];
}; };
}; };
} }