try preservation

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-17 00:51:28 -06:00
parent 438f48ebf0
commit e9b8c54312
3 changed files with 87 additions and 3 deletions

View file

@ -64,6 +64,8 @@ lib.mkMerge [
"X-mount.mkdir"
"X-mount.subdir=@persist"
];
# NOTE for impermanence
neededForBoot = true;
};
}
# SWAP (optional)
@ -139,10 +141,12 @@ lib.mkMerge [
wantedBy = [
# "initrd.target"
"sysroot.mount"
"persist.mount"
"initrd-root-fs.target"
];
before = [
"sysroot.mount"
"persist.mount"
"initrd-root-fs.target"
];