From b274a4511b08723b931a794c2531fdfbcedb3fb0 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 11 Sep 2021 12:45:35 -0400 Subject: [PATCH] add swap --- hosts/facade.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/facade.nix b/hosts/facade.nix index 1d126fe..dcf98d4 100644 --- a/hosts/facade.nix +++ b/hosts/facade.nix @@ -6,6 +6,8 @@ (modulesPath + "/virtualisation/digital-ocean-config.nix") ]; + swapDevices = [{ device = "/swapfile"; size = 2048; }]; + nixpkgs.config.allowUnfree = true; nix = { package = pkgs.nixUnstable;