diff options
Diffstat (limited to '')
-rw-r--r-- | system/disks/impermanence.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/disks/impermanence.nix b/system/disks/impermanence.nix new file mode 100644 index 0000000..6da011a --- /dev/null +++ b/system/disks/impermanence.nix @@ -0,0 +1,15 @@ +{...}: { + environment.persistence = { + "/srv" = { + hideMounts = true; + directories = [ + "/etc/nixos" + "/var/log" + "/var/lib/postgresql" + ]; + files = [ + "/etc/machine-id" + ]; + }; + }; +} |