impermanence

This commit is contained in:
2025-10-07 01:24:37 -04:00
parent a4bf2a0ea9
commit 83a639a20e
15 changed files with 128 additions and 28 deletions

View File

@@ -15,17 +15,40 @@
mountpoint = "/boot";
};
};
root = {
persistent = {
size = "20G";
content = {
type = "filesystem";
format = "f2fs";
mountpoint = "/persistent";
};
};
nix = {
size = "100%";
content = {
type = "filesystem";
format = "f2fs";
mountpoint = "/";
mountpoint = "/nix";
};
};
};
};
};
};
nodev = {
"/" = {
fsType = "tmpfs";
mountOptions = [
"defaults"
"size=2G"
"mode=755"
];
};
};
};
fileSystems."/persistent".neededForBoot = true;
fileSystems."/nix".neededForBoot = true;
}