about summary refs log tree commit diff
path: root/configurations/varda/default.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-08-28 21:14:14 +0300
committerAzat Bahawi <azat@bahawi.net>2022-08-28 21:14:14 +0300
commit2e2a7bb1f640def9d627af8cc194faf7d911d8bf (patch)
tree4252d60535ffed05bb5f304f6fb0b05226809d8a /configurations/varda/default.nix
parent2022-08-25 (diff)
2022-08-28
Diffstat (limited to 'configurations/varda/default.nix')
-rw-r--r--configurations/varda/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/configurations/varda/default.nix b/configurations/varda/default.nix
index d7c6132..524842e 100644
--- a/configurations/varda/default.nix
+++ b/configurations/varda/default.nix
@@ -22,8 +22,6 @@ with lib; {
     acme.enable = true;
   };
 
-  # systemd.services.minecraft-server.wantedBy = mkForce [];
-
   networking = let
     interface = "eth0";
   in {
@@ -80,5 +78,12 @@ with lib; {
     };
   };
 
+  swapDevices = [
+    {
+      device = "/swapfile";
+      size = 4 * 1024;
+    }
+  ];
+
   system.stateVersion = "22.05";
 }

Consider giving Nix/NixOS a try! <3