nixos/installer: Override swap devices so tests don't fail

This patch should be reverted if either:
  - systemd fixes the multi-swapon issue.
    https://bugs.freedesktop.org/show_bug.cgi?id=86930
  - If we disable the autogeneration of swap and vfat units within
    systemd.
This commit is contained in:
William A. Kennington III 2014-12-03 15:40:15 -08:00
parent 053d46f415
commit 82f59e8c69

View file

@ -79,6 +79,8 @@ let
virtualisation.pathsInNixDB = channelContents ++ [ pkgs.hello.src ];
virtualisation.memorySize = 768;
swapDevices = mkOverride 0 [ ];
networking.firewall.allowedTCPPorts = [ 80 ];
};