mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-06 12:59:22 +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" = {
|
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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue