kasei: switch back to nvidia drivers

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-13 22:05:30 +01:00
parent dc4284a1a0
commit 6475f80982
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -79,7 +79,7 @@
services = { services = {
openssh.enable = true; openssh.enable = true;
xserver.videoDrivers = [ "amdgpu" ]; xserver.videoDrivers = [ "nvidia" ];
tailscale.enable = true; tailscale.enable = true;
avahi = { avahi = {
enable = true; enable = true;
@ -95,11 +95,8 @@
boot = { boot = {
initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
initrd.kernelModules = [ "amdgpu" ];
# kernelPackages = pkgs.linuxKernel.packages.linux_zen.zfs; # kernelPackages = pkgs.linuxKernel.packages.linux_zen.zfs;
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
kernelModules = [ "kvm-amd" ];
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];
loader = { loader = {
@ -144,10 +141,12 @@
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
keyboard.zsa.enable = true; keyboard.zsa.enable = true;
sane.enable = true; sane.enable = true;
opengl = {
enable = true; nvidia = {
driSupport = true; modesetting.enable = true;
driSupport32Bit = true; open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta;
}; };
}; };
} }