diff --git a/hosts/modules/gui/default.nix b/hosts/modules/gui/default.nix index 276bca36..36c0fd94 100644 --- a/hosts/modules/gui/default.nix +++ b/hosts/modules/gui/default.nix @@ -134,6 +134,7 @@ ]; hardware.opengl = lib.mkIf config.sane.programs.guiApps.enabled ({ + enable = true; driSupport = lib.mkDefault true; } // (lib.optionalAttrs pkgs.stdenv.isx86_64 { # for 32 bit applications diff --git a/hosts/modules/gui/sxmo/default.nix b/hosts/modules/gui/sxmo/default.nix index b8f6457e..1b321fc4 100644 --- a/hosts/modules/gui/sxmo/default.nix +++ b/hosts/modules/gui/sxmo/default.nix @@ -281,8 +281,6 @@ in security.doas.enable = true; security.doas.wheelNeedsPassword = false; - hardware.opengl.enable = true; - # TODO: nerdfonts is 4GB. it accepts an option to ship only some fonts: probably want to use that. fonts.packages = [ pkgs.nerdfonts ];