feat(stolas): replace zram with zswap
This commit is contained in:
parent
0909933ba9
commit
03c6c141ee
1 changed files with 1 additions and 4 deletions
|
@ -26,8 +26,8 @@
|
||||||
# Hopefully fixes suspend issues with wifi card
|
# Hopefully fixes suspend issues with wifi card
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"resume=UUID=81dfbfa5-d578-479c-b11c-3ee5abd6848a"
|
|
||||||
"resume_offset=533760"
|
"resume_offset=533760"
|
||||||
|
"zswap.enabled=1"
|
||||||
];
|
];
|
||||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||||
# Lanzaboote currently replaces the systemd-boot module.
|
# Lanzaboote currently replaces the systemd-boot module.
|
||||||
|
@ -210,7 +210,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Create compressing swap space in RAM
|
|
||||||
zramSwap.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue