{ inputs, config, lib, pkgs, ... }: { services.openssh.hostKeys = [ { bits = 4096; path = "/nix/persist/etc/ssh/ssh_host_rsa_key"; type = "rsa"; } { path = "/nix/persist/etc/ssh/ssh_host_ed25519_key"; type = "ed25519"; } ]; age.identityPaths = [ "/nix/persist/etc/ssh/ssh_host_ed25519_key" ]; environment.persistence."/nix/persist" = { directories = [ "/var/log" "/var/lib" ]; files = [ "/etc/machine-id" ]; }; programs.fuse.userAllowOther = true; home-manager.users.katja = { imports = [ inputs.impermanence.homeManagerModules.default ]; home.persistence."/nix/persist/home/katja" = { allowOther = true; directories = [ "syncthing" ]; files = [ ".bash_history" ".local/share/mcfly/history.db" ]; }; }; }