From 9e51830d3622204db9e107932a35dd370935b6ee Mon Sep 17 00:00:00 2001 From: Random936 Date: Sun, 15 Feb 2026 17:26:34 -0500 Subject: [PATCH] Fixed race condition with ollama loading gpu --- hardware/ai.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/ai.nix b/hardware/ai.nix index b176eb4..e3fe5a2 100644 --- a/hardware/ai.nix +++ b/hardware/ai.nix @@ -9,8 +9,8 @@ ]; boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.initrd.kernelModules = [ "nvidia" ]; + boot.kernelModules = [ "kvm-intel" "nvidia" ]; boot.extraModulePackages = [ ]; fileSystems."/" = {