diff --git a/targets/lenovo-x1/guivmExtraModules.nix b/targets/lenovo-x1/guivmExtraModules.nix index 6dffdfd7f..809968818 100644 --- a/targets/lenovo-x1/guivmExtraModules.nix +++ b/targets/lenovo-x1/guivmExtraModules.nix @@ -157,10 +157,20 @@ }; }; - # Open TCP port for the PDF XDG socket + # Enable all firmware for graphics firmware + hardware = { + enableRedistributableFirmware = true; + enableAllFirmware = true; + }; + + # Early KMS needed for ui to start work inside GuiVM + boot = { + initrd.kernelModules = ["i915"]; + kernelParams = ["earlykms"]; + }; + + # Open TCP port for the PDF XDG socket. networking.firewall.allowedTCPPorts = [xdgPdfPort]; - # Early KMS needed for GNOME to work inside GuiVM - boot.initrd.kernelModules = ["i915"]; microvm.qemu = { extraArgs = diff --git a/targets/lenovo-x1/netvmExtraModules.nix b/targets/lenovo-x1/netvmExtraModules.nix index d19b3ebc7..822e68900 100644 --- a/targets/lenovo-x1/netvmExtraModules.nix +++ b/targets/lenovo-x1/netvmExtraModules.nix @@ -33,7 +33,10 @@ elemen-vmIp = "192.168.100.253"; in { # For WLAN firmwares - hardware.enableRedistributableFirmware = true; + hardware = { + enableRedistributableFirmware = true; + enableAllFirmware = true; + }; networking = { # wireless is disabled because we use NetworkManager for wireless @@ -43,6 +46,7 @@ unmanaged = ["ethint0"]; }; }; + services = { dnsmasq.settings = { # set static IP for IDS-VM