nixos/installer: Fix swap device override

This commit is contained in:
William A. Kennington III 2014-12-04 13:34:35 -08:00
parent e5d92d45b7
commit 6ad032ed93

View File

@ -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 ];
};