monolith: use tmpfs on /tmp

This commit is contained in:
Leonardo Eugênio 2024-06-21 00:29:33 -03:00
parent 670c7d3629
commit bb023ea24a

View file

@ -161,6 +161,11 @@ in
ACTION=="add|change", KERNEL=="sd[a-z]*[0-9]*|mmcblk[0-9]*p[0-9]*|nvme[0-9]*n[0-9]*p[0-9]*", ATTR{../queue/scheduler}="mq-deadline" ACTION=="add|change", KERNEL=="sd[a-z]*[0-9]*|mmcblk[0-9]*p[0-9]*|nvme[0-9]*n[0-9]*p[0-9]*", ATTR{../queue/scheduler}="mq-deadline"
''; '';
boot.tmp = {
cleanOnBoot = true;
useTmpfs = true;
};
# swap # swap
# fileSystems."/swap" = { # fileSystems."/swap" = {
# device = "/dev/disk/by-label/BTRFS_ROOT"; # device = "/dev/disk/by-label/BTRFS_ROOT";