Skip to content

Commit

Permalink
fix(nix): Allow all CUDA packages in allowed_unfree
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Apr 19, 2024
1 parent be800c5 commit 383f076
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nixos-modules/allowed-unfree.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@
# however VS Code should NOT be installed on this system!
# Use VS Codium instead: https://github.com/VSCodium/vscodium
"vscode"

# CUDA support (e.g. for Ollama)
"libcublas"
"libcufft"
] ||
# CUDA has like a billion different packages for some reason
# so just allow all CUDA packages
(builtins.substring 0 4 name) == "cuda";
pkg.meta.license == "CUDA EULA";
}

0 comments on commit 383f076

Please sign in to comment.