This commit is contained in:
Reid 2024-04-25 17:56:46 -07:00
parent bf4f121ec1
commit 5889f85a24
3 changed files with 88 additions and 100 deletions

View file

@ -21,8 +21,7 @@
efi.canTouchEfiVariables = true;
};
# nvidia
# !! you should keep this enabled if you use wayland !!
# nvidia driver
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
@ -31,11 +30,13 @@
modesetting.enable = true;
powerManagement.enable = true;
# this program is (respectfully) a pile of dogshit and is just bloat if using wayland
nvidiaSettings = false;
};
boot.kernelParams = [
# use experimental nvidia supplied framebuffer
"nvidia-drm.fbdev=1"
];
# VA-API
hardware.opengl = {
extraPackages = with pkgs; [