From 2ac2033b59c4f88bea5bb36efb93a0aece55cefd Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Tue, 21 Nov 2023 00:38:02 +0100 Subject: [PATCH] fix broken libgl things --- configs/thilo-laptop/home.nix | 4 ++++ nixos/common.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/configs/thilo-laptop/home.nix b/configs/thilo-laptop/home.nix index cc5f9c0..4a7dd95 100644 --- a/configs/thilo-laptop/home.nix +++ b/configs/thilo-laptop/home.nix @@ -36,5 +36,9 @@ advanced-scene-switcher ]; */ }; + + home.sessionVariables = { + LD_LIBRARY_PATH = "${pkgs.libGL}/lib"; + }; }; } diff --git a/nixos/common.nix b/nixos/common.nix index 024b712..5c5f45d 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -116,6 +116,7 @@ }; }; + hardware.opengl.driSupport = true; hardware.opengl.driSupport32Bit = true; security.polkit.enable = true;