This commit is contained in:
Aleksandr Lebedev 2025-07-30 19:19:58 +02:00
parent 1b6310a742
commit d409e4a9d6
2 changed files with 2 additions and 5 deletions

View file

@ -14,8 +14,8 @@ in {
environment.systemPackages = with pkgs; [sops];
sops.defaultSopsFile = ./secrets/secrets.yaml;
sops.defaultSopsFormat = "yaml";
sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key" "/home/kylekrein/.ssh/id_ed25519"];
#sops.age.keyFile = keyPath;
sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key" "/persist/home/kylekrein/.ssh/id_ed25519" "/home/kylekrein/.ssh/id_ed25519"];
sops.age.keyFile = keyPath;
# This will generate a new key if the key specified above does not exist
sops.age.generateKey = true;
}