mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 11:00:20 +00:00
Theia: more swap
This commit is contained in:
parent
938cb79a0b
commit
446d0d9f49
1 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,10 @@
|
|||
kernel = {
|
||||
sysctl = {
|
||||
"vm.max_map_count" = 2147483642;
|
||||
"vm.swappiness" = 200;
|
||||
"vm.watermark_boost_factor" = 0;
|
||||
"vm.watermark_scale_factor" = 125;
|
||||
"vm.page-cluster" = 0;
|
||||
"net.ipv4.ip_forward" = 1;
|
||||
"net.ipv6.conf.all.forwarding" = 1;
|
||||
};
|
||||
|
@ -57,6 +61,11 @@
|
|||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 16 * 1024;
|
||||
}];
|
||||
|
||||
networking = {
|
||||
enableIPv6 = false; # Had to disable for now due to problems with resolving
|
||||
firewall = {
|
||||
|
|
Loading…
Reference in a new issue