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
];
}
(
# TODO replace with drivers
lib.mkIf cfg.amd.enable {
assertions = lib.singleton {
assertion = !cfg.amd.enable;
message = "graphics module missing support for AMD drivers";
};
}
)
# source: https://wiki.nixos.org/wiki/AMD_GPU
(lib.mkIf cfg.amd.enable {
hardware.opengl = {
enable = true;
# more seems not required
};
})
(lib.mkIf cfg.intel.enable {
hardware.opengl = {

Loading…
Cancel
Save