From 6ad032ed9310b3031a24441acef152c6bfca8daa Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 4 Dec 2014 13:34:35 -0800 Subject: [PATCH] nixos/installer: Fix swap device override --- nixos/tests/installer.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 680eeff7955c..f27854f76450 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -58,6 +58,8 @@ let ${optionalString (!readOnly) "nix.readOnlyStore = false;"} + swapDevices = mkOverride 0 [ ]; + environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ]; } ''; @@ -79,8 +81,6 @@ let virtualisation.pathsInNixDB = channelContents ++ [ pkgs.hello.src ]; virtualisation.memorySize = 768; - swapDevices = mkOverride 0 [ ]; - networking.firewall.allowedTCPPorts = [ 80 ]; };