This commit is contained in:
4DBug
2025-12-02 17:02:03 -06:00
parent c407583801
commit 96d227b7eb
16 changed files with 256 additions and 82 deletions

15
core/swap.nix Normal file
View File

@@ -0,0 +1,15 @@
{ ... }:
{
swapDevices = [
{
device = "/var/lib/swapfile";
size = 16 * 1024;
}
];
zramSwap = {
enable = true;
memoryMax = 64 * 1024 * 1024 * 1024;
};
}