fix(impermanence): give agenix early access to ssh keys

This commit is contained in:
oddlama 2023-05-01 15:00:02 +02:00
parent e2e2c2a757
commit f55c83c1b8
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -4,15 +4,14 @@
#environment.persistence."/nix/state" = {
# hideMounts = true;
# files = [
# "/etc/machine-id"
# "/etc/ssh/ssh_host_ed25519_key"
# "/etc/ssh/ssh_host_ed25519_key.pub"
# ];
# directories = [
# "/var/log"
# ];
#};
# Give agenix access to the hostkey independent of impermanence activation
age.identityPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"];
# State that should be kept forever, and backed up accordingly.
environment.persistence."/persist" = {
hideMounts = true;