summaryrefslogtreecommitdiff
path: root/Que
diff options
context:
space:
mode:
Diffstat (limited to 'Que')
-rw-r--r--Que/Prod.nix3
1 files changed, 3 insertions, 0 deletions
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 = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
+ swapDevices = [
+ { device = "/swapfile"; } # 4GB
+ ];
networking.firewall.allowedTCPPorts = [ 22 80 443 ];
networking = {
nameservers = [