sops: fix config for darwin

This commit is contained in:
Trolli Schmittlauch 2026-04-06 22:36:50 +02:00
parent 281ca7ed03
commit 76d79356c3
3 changed files with 36 additions and 9 deletions

View file

@ -6,7 +6,9 @@
}:
{
sops = {
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
age.keyFile = "/Users/os/Library/Application Support/sops/age/keys.txt";
age.sshKeyPaths = lib.mkForce [ ]; # no host keys
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
};