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