diff --git a/hosts/common/core/impermanence.nix b/hosts/common/core/impermanence.nix index 0b696d2..fe82a00 100644 --- a/hosts/common/core/impermanence.nix +++ b/hosts/common/core/impermanence.nix @@ -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;