Enable swapfile on rubusidaeus

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-12-22 07:30:15 +03:00
parent c0cc93bdb1
commit 55ab3d745c
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C

View file

@ -93,6 +93,12 @@ in {
defaultGateway = ipv4_gateway; # should set this things through let...
};
# 2 gig of ram is not enough
swapDevices = [ {
device = "/var/lib/swapfile";
size = 16*1024;
} ];
# Semi-static configuration, needs rethinking
services.nginx = {
virtualHosts."iva.bz" = {