kasei: switch back to nvidia drivers
This commit is contained in:
parent
dc4284a1a0
commit
6475f80982
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user