Skip to content

Commit

Permalink
fix(nix): Add CUDA package to allowed_unfree
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Apr 19, 2024
1 parent 2cfb77c commit a5e89fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos-modules/allowed-unfree.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
# 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"
] ||
# CUDA support (e.g. for Ollama)
# CUDA has like a billion different packages for some reason
# so just allow all CUDA packages
(builtins.substring 0 4 name) == "cuda";
Expand Down

0 comments on commit a5e89fc

Please sign in to comment.