opengl: enable more broadly

this reduces the amount of sxmo-specific config
This commit is contained in:
Colin 2023-09-07 10:47:17 +00:00
parent c86037e5d0
commit b2393d4715
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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 ];