# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { config, pkgs, ... }: { boot.kernelModules = [ "nouveau" ]; boot.blacklistedKernelModules = [ "nvidia" "nvidia_uvm" "nvidia_drm" "nvidia_modeset" ]; services.xserver.videoDrivers = ["nouveau"]; hardware.opengl = { enable = true; extraPackages = with pkgs; [ mesa mesa.drivers ]; }; }