summary refs log tree commit diff
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r--nixos/tests/installer.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 680eeff7955..f27854f7645 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 ];
     };