User Tools

Site Tools


manuals:distributions:nixos:impermanence

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manuals:distributions:nixos:impermanence [2024/10/21 07:13] aithermanuals:distributions:nixos:impermanence [2024/10/29 17:03] (current) aither
Line 1: Line 1:
 +<page>manuals:distributions:nixos:impermanence</page>
 ====== NixOS Impermanence ====== ====== NixOS Impermanence ======
- 
-<note warning> 
-This is a work in progress, impermanence is available only on staging (node1.stg) 
-</note> 
  
 This page describes usage of [[https://github.com/nix-community/impermanence|NixOS Impermanence]] module This page describes usage of [[https://github.com/nix-community/impermanence|NixOS Impermanence]] module
-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 [[#using_os_template|using the OS template for impermanence]], or you can 
 +set it up [[#manual_configuration|manually]]. 
 + 
 +Please note that when you enable impermanence, the root file system is indeed temporary 
 +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:
 </code> </code>
  
-Note reinstalling the VPS will be ineffective, as reinstall changes only the root dataset.+Note that reinstalling the VPS will be ineffective, as reinstall changes only the root dataset.
 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 = [
       "/etc/machine-id"       "/etc/machine-id"
-      "/etc/shadow" 
     ];     ];
   };   };
manuals/distributions/nixos/impermanence.1729494783.txt.gz · Last modified: 2024/10/21 07:13 by aither