Impermanence: Difference between revisions

imported>Klaymore
m Reorganized dotfile example so Firefox comment is easily readable
imported>Klaymore
Note that the Impermanence module fails to build
Line 28: Line 28:


Some files and folders should be persisted between reboots though (such as <code>/etc/nixos/</code>). This can be accomplished through bind mounts or by using the [https://github.com/nix-community/impermanence NixOS Impermanence module,] which will set up bind mounts and links as needed.
Some files and folders should be persisted between reboots though (such as <code>/etc/nixos/</code>). This can be accomplished through bind mounts or by using the [https://github.com/nix-community/impermanence NixOS Impermanence module,] which will set up bind mounts and links as needed.
{{Note|On NixOS 22.05 the Impermanence module fails to build.}}


Put in <code>configuration.nix</code>:
Put in <code>configuration.nix</code>: