mirror of
https://github.com/ivabus/nixos
synced 2024-11-24 17:35:07 +03:00
Enable swapfile on rubusidaeus
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
c0cc93bdb1
commit
55ab3d745c
1 changed files with 6 additions and 0 deletions
|
@ -93,6 +93,12 @@ in {
|
||||||
defaultGateway = ipv4_gateway; # should set this things through let...
|
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
|
# Semi-static configuration, needs rethinking
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts."iva.bz" = {
|
virtualHosts."iva.bz" = {
|
||||||
|
|
Loading…
Reference in a new issue