modules/graphics: implement support for AMD graphics

main
Felix Stupp 1 year ago
parent be8bb660dc
commit b24fdd1a98
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -34,15 +34,13 @@ in
]; ];
} }
( # source: https://wiki.nixos.org/wiki/AMD_GPU
# TODO replace with drivers (lib.mkIf cfg.amd.enable {
lib.mkIf cfg.amd.enable { hardware.opengl = {
assertions = lib.singleton { enable = true;
assertion = !cfg.amd.enable; # more seems not required
message = "graphics module missing support for AMD drivers"; };
}; })
}
)
(lib.mkIf cfg.intel.enable { (lib.mkIf cfg.intel.enable {
hardware.opengl = { hardware.opengl = {

Loading…
Cancel
Save