Initial commit

This commit is contained in:
Veneficium 2024-06-11 23:59:03 +02:00
commit 69d741b98b
29 changed files with 718 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{ config, lib, ... }: {
options = {
settings.drivers.gpu.opengl.enable = lib.mkEnableOption "enable OpenGL hardware support";
};
config = lib.mkIf config.settings.drivers.gpu.opengl.enable {
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
};
}