Setup lappy for proper impermanance.
This commit is contained in:
@@ -48,6 +48,21 @@
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"/root-blank" = {
|
||||
mountOptions = [
|
||||
"subvol=root-blank"
|
||||
"nodatacow"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"/home" = {
|
||||
mountpoint = "/home";
|
||||
mountOptions = [
|
||||
"subvol=home"
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"/nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = [
|
||||
@@ -72,6 +87,24 @@
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"/lib" = {
|
||||
mountpoint = "/var/lib";
|
||||
mountOptions = [
|
||||
"subvol=lib"
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"/persist/swap" = {
|
||||
mountpoint = "/persist/swap";
|
||||
mountOptions = [
|
||||
"subvol=swap"
|
||||
"noatime"
|
||||
"nodatacow"
|
||||
"compress=no"
|
||||
];
|
||||
swap.swapfile.size = "18G";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -81,6 +114,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
fileSystems."/nix/persist".neededForBoot = true;
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
fileSystems."/var/log".neededForBoot = true;
|
||||
fileSystems."/var/lib".neededForBoot = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user