Nvidia
This commit is contained in:
parent
bf4f121ec1
commit
5889f85a24
3 changed files with 88 additions and 100 deletions
|
@ -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; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue