nixconfigs/darwin/sops.nix
Trolli Schmittlauch fe50bf0b58 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.
2026-04-06 23:58:42 +02:00

14 lines
343 B
Nix

{
lib,
config,
pkgs,
...
}:
{
sops = {
#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
};
}