WIP framenix
This commit is contained in:
parent
317aeb248e
commit
bb61531df1
5 changed files with 119 additions and 1 deletions
12
hosts/framenix/swap.nix
Normal file
12
hosts/framenix/swap.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue