From 9eba1a0ba646ac12a66803a33de5488122931b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Tue, 30 Jul 2024 09:46:43 +0200 Subject: [PATCH] wluma: set env variable to allow it to work see: https://github.com/maximbaz/wluma/issues/8 --- nixos/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index a1d07fc..8534035 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -125,6 +125,13 @@ # wget ]; + # set global environment variables + environment.sessionVariables = { + # I don't know what this does, but it is needed for wluma to work correctly. + # It will also slightly increase cpu usage (on wayland compositors), but shouldn't be too bad. + WLR_DRM_NO_MODIFIERS = 1; + }; + # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true;