write tmp to disk

This commit is contained in:
Grisha Shipunov 2025-02-21 00:52:57 +01:00
parent 1e3e2d083c
commit 8f7f58b9d1
2 changed files with 8 additions and 1 deletions

View file

@ -49,6 +49,12 @@
options = [ "zfsutil" ];
};
fileSystems."/tmp" = {
device = "zpool/nocomp/tmp";
fsType = "zfs";
options = [ "zfsutil" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/A170-F83D";
fsType = "vfat";

View file

@ -19,6 +19,7 @@
supportedFilesystems = [ "zfs" ];
kernelParams = [ "nohibernate" ];
plymouth.enable = false;
tmp.useTmpfs = true;
tmp.useTmpfs = false;
tmp.cleanOnBoot = true;
};
}