From 0f5574b2b5fdc5c5729a275698216e1c65374c16 Mon Sep 17 00:00:00 2001 From: Till Date: Wed, 10 Jul 2024 21:52:46 +0200 Subject: [PATCH] prep nvidia --- system/hardware-tron.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hardware-tron.nix b/system/hardware-tron.nix index 7b45ba0..3e36c00 100644 --- a/system/hardware-tron.nix +++ b/system/hardware-tron.nix @@ -8,9 +8,11 @@ let in { - imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + + hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ]; + boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "v4l2loopback" ]; boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];