This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
manuals:distributions:nixos:impermanence [2024/10/21 07:13] – aither | manuals:distributions:nixos:impermanence [2024/10/29 17:03] (current) – aither | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
====== NixOS Impermanence ====== | ====== NixOS Impermanence ====== | ||
- | |||
- | <note warning> | ||
- | This is a work in progress, impermanence is available only on staging (node1.stg) | ||
- | </ | ||
This page describes usage of [[https:// | This page describes usage of [[https:// | ||
- | at vpsFree.cz. | + | at vpsFree.cz. We support impermanence with root filesystem in a temporary ZFS dataset that is |
+ | provided by our platform. It is necessary to move the Nix store to a subdataset, which can be | ||
+ | done automatically [[# | ||
+ | set it up [[# | ||
+ | |||
+ | Please note that when you enable impermanence, | ||
+ | and its data reset on each VPS start. The temporary dataset also isn't backed up. Be mindful | ||
+ | of where you store your data. If it isn't in a persistent location, it will be lost. | ||
===== Using OS template ===== | ===== Using OS template ===== | ||
Line 23: | Line 27: | ||
</ | </ | ||
- | Note reinstalling the VPS will be ineffective, | + | Note that reinstalling the VPS will be ineffective, |
It will not touch the Nix store when it is moved to a subdataset. For the same reason, you | It will not touch the Nix store when it is moved to a subdataset. For the same reason, you | ||
cannot convert an existing VPS to impermanence using reinstall. The OS template will | cannot convert an existing VPS to impermanence using reinstall. The OS template will | ||
Line 90: | Line 94: | ||
files = [ | files = [ | ||
"/ | "/ | ||
- | "/ | ||
]; | ]; | ||
}; | }; |