From f7199197c653044a12836ecec3a5ca6b266bd8d1 Mon Sep 17 00:00:00 2001 From: stitchy Date: Tue, 18 Jun 2024 00:23:44 -0700 Subject: [PATCH] remove novideo --- hosts/default.nix | 1 + hosts/malachite/hardware-configuration.nix | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 84d0a96..dbec4a3 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -22,6 +22,7 @@ in }; }; + programs.appimage.binfmt = true; security.sudo.wheelNeedsPassword = false; security.rtkit.enable = true; services = { diff --git a/hosts/malachite/hardware-configuration.nix b/hosts/malachite/hardware-configuration.nix index 5589da3..1842319 100644 --- a/hosts/malachite/hardware-configuration.nix +++ b/hosts/malachite/hardware-configuration.nix @@ -76,24 +76,23 @@ swapDevices = [ ]; - services.xserver.videoDrivers = ["nvidia"]; services.xserver.displayManager.lightdm.enable = false; services.monado = { enable = true; defaultRuntime = true; }; + systemd.user.services.monado.environment = { + STEAMVR_LH_ENABLE = "1"; + XRT_COMPOSITOR_COMPUTE = "1"; + }; + hardware = { opengl = { enable = true; driSupport = true; driSupport32Bit = true; }; - nvidia = { - modesetting.enable = true; - powerManagement.enable = true; - package = config.boot.kernelPackages.nvidiaPackages.beta; - }; }; networking.useDHCP = lib.mkDefault true;