From 03f6fcbd6433ec11e7fc8191d2c8fbc1810c0d50 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 7 Oct 2024 09:14:33 +0200 Subject: [PATCH] chore: comment out NIXOS_OZONE_WL environment variable Disable the NIXOS_OZONE_WL environment variable in session variables to avoid potential conflicts. This change ensures the stability of the GUI service while leaving the intel-media-driver configuration untouched. --- modules/nixos/services/gui/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/services/gui/default.nix b/modules/nixos/services/gui/default.nix index 44b3039..bb776d6 100644 --- a/modules/nixos/services/gui/default.nix +++ b/modules/nixos/services/gui/default.nix @@ -70,8 +70,8 @@ in }; environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; - NIXOS_OZONE_WL = "1"; - }; # Force intel-media-driver + # NIXOS_OZONE_WL = "1"; + }; metacfg.home.configFile."mpv/mpv.conf".text = '' hwdec=auto-safe