From 20256167c33db9c6b762a5bcf0b6678de45653d0 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 17 Jun 2026 17:24:26 -0500 Subject: cuda support and immich cuda support --- hosts/poweredge/configuration.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'hosts/poweredge/configuration.nix') diff --git a/hosts/poweredge/configuration.nix b/hosts/poweredge/configuration.nix index 3935daf..40803bf 100644 --- a/hosts/poweredge/configuration.nix +++ b/hosts/poweredge/configuration.nix @@ -11,6 +11,9 @@ #./notification-mailer.nix # TODO move some of this stuff to archetype ]; + # Allow unfree packages for nvidia/cuda + nixpkgs.config.allowUnfree = true; + # Setup bootloader boot._loader.enable = true; @@ -22,6 +25,7 @@ home.users.timmy.enable = true; }; zfs.enable = true; + cuda.enable = true; }; }; @@ -30,8 +34,12 @@ # Enable nvidia hardware.nvidia = { - open = false; # Need for NVENC - package = config.boot.kernelPackages.nvidiaPackages.stable; + modesetting.enable = true; # Required + nvidiaSettings = false; # Don't need gui + open = false; + package = config.boot.kernelPackages.nvidiaPackages.legacy_580; # Support for P600 + powerManagement.enable = false; # Can cause bugs + powerManagement.finegrained = false; # Only works on turing and newer }; # Enable user timmy -- cgit v1.2.3