fix: actually use impermanence

This commit is contained in:
Xory 2025-10-28 16:18:48 +02:00
parent a7ee019d93
commit 055f4056db
2 changed files with 16 additions and 4 deletions

View file

@ -41,12 +41,24 @@
};
# Impermanence
fileSystems."/" = {
device = "none";
fsType = "tmpfs";
neededForBoot = true;
};
fileSystems."/persist" = {
device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
fsType = "ext4";
neededForBoot = true;
};
fileSystems."/nix" = {
device = "/persist/nix";
options = [ "bind "];
};
environment.persistence."/persist" = {
hideMounts = true;
directories = [