mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 01:38:02 +02:00
meta: Use host network inside vms
This enables VMs built with nixos-rebuild build-vm to use the internet of the host.
This commit is contained in:
parent
ebd96d805e
commit
b26702d052
@ -235,7 +235,6 @@ let VARIABLES = import ./variables.nix; in {
|
|||||||
virtualisation = {
|
virtualisation = {
|
||||||
memorySize = 8192;
|
memorySize = 8192;
|
||||||
cores = 4;
|
cores = 4;
|
||||||
restrictNetwork = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.qemu.options = [ "-device virtio-vga-gl" "-display sdl,gl=on,show-cursor=off" "-full-screen" ];
|
virtualisation.qemu.options = [ "-device virtio-vga-gl" "-display sdl,gl=on,show-cursor=off" "-full-screen" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user