From 1193c72b93e7630ed379408a216ff5f858406024 Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Thu, 18 Apr 2024 15:42:25 -0700 Subject: [PATCH] Nvidia, add kernel module, exclude nouvaeu module --- systems/onizuka/hardware.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systems/onizuka/hardware.nix b/systems/onizuka/hardware.nix index ea1c10d..39ae6a0 100644 --- a/systems/onizuka/hardware.nix +++ b/systems/onizuka/hardware.nix @@ -9,7 +9,8 @@ ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "nvidia" ]; + boot.blacklistedKernelModules = [ "nouveau" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ];