mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-05 04:29:23 +02:00
add zram writeBackDevice
This commit is contained in:
parent
18cf945464
commit
4dad2cf95f
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue