diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-17 17:24:26 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-17 17:24:26 -0500 |
| commit | 20256167c33db9c6b762a5bcf0b6678de45653d0 (patch) | |
| tree | 63c6fe9e9e9ef36d0437939f4b65a725d5ca831f /hosts/poweredge/configuration.nix | |
| parent | af63e346ff5542559dc507b0a901a4d8b370d4d3 (diff) | |
| download | nixos-20256167c33db9c6b762a5bcf0b6678de45653d0.tar.xz nixos-20256167c33db9c6b762a5bcf0b6678de45653d0.zip | |
cuda support and immich cuda support
Diffstat (limited to 'hosts/poweredge/configuration.nix')
| -rw-r--r-- | hosts/poweredge/configuration.nix | 12 |
1 files changed, 10 insertions, 2 deletions
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 |
