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;