{inputs, ...}: { imports = [ inputs.impermanence.nixosModules.impermanence ]; environment.persistence."/persist" = { hideMounts = true; directories = [ "/var/lib/bluetooth" "/var/lib/fprint" "/var/lib/nixos" "/var/lib/systemd" "/etc/NetworkManager/system-connections" ]; files = [ # "/etc/machine-id" ]; users.chen = { directories = [ # XDG user directories "Desktop" "Documents" "Downloads" "Music" "Pictures" "Public" "Templates" "Videos" # More directories ".config/emacs" ".local/share/Steam" ".ssh" ]; files = [ ".history" ]; }; }; environment.etc.machine-id.text = "67803336e24344e9aa58ea47b51180d0"; programs.fuse.userAllowOther = true; }