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