WIP framenix

This commit is contained in:
Trolli Schmittlauch 2024-01-11 01:13:42 +01:00
parent 317aeb248e
commit bb61531df1
5 changed files with 119 additions and 1 deletions

12
hosts/framenix/swap.nix Normal file
View file

@ -0,0 +1,12 @@
{
swapDevices =
[ { device = "/dev/disk/by-uuid/24c47f3d-0d3e-4575-92a2-174b5a6b6086"; }
];
zramSwap = {
enable = true;
memoryPercent = 20;
};
boot.kernel.sysctl."vm.swappiness" = 9;
}