From ea86ac82021efda2e324b7790780ec87ce303ffa Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 21 Apr 2020 03:44:59 -0700 Subject: Add swap to que-prod --- Que/Prod.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Que/Prod.nix b/Que/Prod.nix index 57a386a..138f582 100644 --- a/Que/Prod.nix +++ b/Que/Prod.nix @@ -3,6 +3,9 @@ imports = [ ]; boot.loader.grub.device = "/dev/vda"; fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; + swapDevices = [ + { device = "/swapfile"; } # 4GB + ]; networking.firewall.allowedTCPPorts = [ 22 80 443 ]; networking = { nameservers = [ -- cgit v1.2.3