add zram writeBackDevice

This commit is contained in:
jopejoe1 2025-04-26 23:14:48 +02:00
parent 18cf945464
commit 4dad2cf95f

View file

@ -120,7 +120,7 @@
};
fileSystems."/home/jopejoe1/Public/games" = {
device = "/dev/sda";
device = "/dev/disk/by-label/gaming";
fsType = "bcachefs";
options = [
"compression=zstd"
@ -130,6 +130,7 @@
zramSwap = {
enable = true;
writebackDevice = "/dev/disk/by-partlabel/zram-writeback";
};
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";