1

Modules/Sops: Use keys directly from /persist (impermanence kicks in only after sops needs keys...)

This commit is contained in:
2025-07-15 23:26:01 +02:00
parent a0e2a0d0cd
commit a0104bd5d6

View File

@ -26,7 +26,9 @@ in {
defaultSopsFile = ./secrets.yaml;
age = {
keyFile = "/home/${username}/.secrets/age/age.key";
# NOTE: Sops needs the keys before impermanence kicks in
# so we have to link to /persist directly...
keyFile = "/persist/home/${username}/.secrets/age/age.key";
generateKey = false;
sshKeyPaths = [];
};