mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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:
parent
053d46f415
commit
82f59e8c69
@ -79,6 +79,8 @@ let
|
||||
virtualisation.pathsInNixDB = channelContents ++ [ pkgs.hello.src ];
|
||||
virtualisation.memorySize = 768;
|
||||
|
||||
swapDevices = mkOverride 0 [ ];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user