impermanence: use either SSH host key for agenix

This commit is contained in:
2025-08-21 10:08:54 +01:00
parent 65af220200
commit a04e64ebd5

View File

@@ -35,7 +35,10 @@ in
}; };
}; };
age.identityPaths = [ "/persist/etc/ssh/ssh_host_ed25519_key" ]; age.identityPaths = [
"/persist/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key"
];
fileSystems."/state" = mkIf config.environment.persistence."/state".enable { fileSystems."/state" = mkIf config.environment.persistence."/state".enable {
neededForBoot = true; neededForBoot = true;