sops: darwin: switch to SSH host keys

I've decided to just create some ssh host keys via `sudo ssh-keygen -A`
to make the key management parallel to linux hosts.
This commit is contained in:
Trolli Schmittlauch 2026-04-06 23:43:19 +02:00
parent de64d0d8d6
commit fe50bf0b58
4 changed files with 41 additions and 41 deletions

View file

@ -6,8 +6,7 @@
}:
{
sops = {
age.keyFile = "/Users/os/Library/Application Support/sops/age/keys.txt";
age.sshKeyPaths = lib.mkForce [ ]; # no host keys
#age.keyFile = "/Users/os/Library/Application Support/sops/age/keys.txt";
gnupg.sshKeyPaths = lib.mkForce [ ]; # no host keys
defaultSopsFile = lib.mkDefault ./secrets.yaml;
defaultSopsFormat = "yaml"; # is the default. ini had some template rendering issues in practice