diff --git a/home/gui/environments/sway/sway.nix b/home/gui/environments/sway/sway.nix index 029d515..e95b48f 100644 --- a/home/gui/environments/sway/sway.nix +++ b/home/gui/environments/sway/sway.nix @@ -5,7 +5,7 @@ home.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; XDG_SESSION_TYPE = "wayland"; - WLR_DRM_DEVICES = "/dev/dri/card0"; + #WLR_DRM_DEVICES = "/dev/dri/card0"; SDL_VIDEODRIVER = "wayland"; QT_QPA_PLATFORM = "wayland"; QT_WAYLAND_DISABLE_WINDOWDECORATION = 1; diff --git a/hosts/lappy/vm.nix b/hosts/lappy/vm.nix index fc1673f..4c1001e 100644 --- a/hosts/lappy/vm.nix +++ b/hosts/lappy/vm.nix @@ -1,4 +1,13 @@ -_: { +{lib, inputs, ...}: { + imports = [ + "${inputs.nixpkgs}/nixos/modules/virtualisation/qemu-vm.nix" + ]; users.users.root.password = "password"; users.users.chaos.password = "password"; + home-manager.users.chaos.home.sessionVariables = { + WLR_RENDERER_ALLOW_SOFTWARE = "1"; + }; + services.getty.extraArgs = lib.mkForce []; + virtualisation.cores = 4; + virtualisation.qemu.options = ["-vga" "qxl"]; } \ No newline at end of file