diff --git a/etc/nixos/modules/llamacpp.nix b/etc/nixos/modules/llamacpp.nix new file mode 100644 index 0000000..faceb93 --- /dev/null +++ b/etc/nixos/modules/llamacpp.nix @@ -0,0 +1,7 @@ +{config, pkgs, ... }: + +{ + environment.systemPackages = [ + (pkgs.llama-cpp.override { cudaSupport = true; }) + ]; +}