{ pkgs, ... }: { services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { branch = "bleeding_edge"; modesetting.enable = true; open = true; nvidiaSettings = true; }; environment.systemPackages = with pkgs; [ egl-wayland libva-utils nvidia-vaapi-driver nvtopPackages.nvidia lact ]; systemd.packages = with pkgs; [ lact ]; systemd.services.lactd.wantedBy = ["multi-user.target"]; }