fix nvidia driver version for wayland (use unstable)

This commit is contained in:
Tao Tien 2023-07-23 19:27:43 -07:00
parent 175f67e377
commit 76cf402e52
2 changed files with 15 additions and 6 deletions

View file

@ -6,9 +6,15 @@
openrgb
gwe
liquidctl
egl-wayland
# egl-wayland
# nvidia-vaapi-driver
];
# environment.sessionVariables = {
# # wayland chromium workaround
# NIXOS_OZONE_WL = "1";
# };
fileSystems."/home" = {
device = "/dev/disk/by-uuid/eb9fcce2-e9f3-438a-b5ce-8f72f32f0e09";
fsType = "btrfs";
@ -67,10 +73,8 @@
};
hardware.nvidia = {
modesetting.enable = true;
package = config.boot.kernelPackages.nvidiaPackages.beta;
# package = (config.boot.kernelPackages.callPackage
# "${pkgs.unstable.path}/pkgs/os-specific/linux/nvidia-x11/default.nix"
# { });
# package = config.boot.kernelPackages.nvidiaPackages.beta;
package = pkgs.unstable.linuxPackages_latest.nvidiaPackages.production;
};
networking.hostName = "NOcomputer";