mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
Enable swapfile on rubusidaeus
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
c0cc93bdb1
commit
55ab3d745c
|
@ -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" = {
|
||||
|
|
Loading…
Reference in a new issue