feat: Remove desmos added llama_ik

This commit is contained in:
uttarayan21
2025-08-07 15:34:45 +03:00
parent ade668cf47
commit bb7f0e193b
6 changed files with 22 additions and 9 deletions

View File

@@ -19,7 +19,7 @@
./grafana.nix
./excalidraw.nix
./desmos.nix
# ./desmos.nix
# ./ldap.nix
# ./llama.nix
# ./navidrome.nix

View File

@@ -1,6 +1,7 @@
{
config,
pkgs,
inputs,
...
}: {
sops = {
@@ -18,6 +19,15 @@
};
};
services = {
llama-cpp = {
enable = true;
port = 11435;
model = pkgs.fetchurl {
url = "https://huggingface.co/unsloth/gpt-oss-20b-GGUF/resolve/main/gpt-oss-20b-F16.gguf";
sha256 = "sha256-vE1SpG4diQiP88u0viGnyZ8LtotTUU19UGecnwfjOkE=";
};
package = pkgs.ik_llama;
};
ollama = {
enable = true;
loadModels = ["deepseek-r1:7b" "deepseek-r1:14b" "RobinBially/nomic-embed-text-8k" "qwen3:8b"];

View File

@@ -26,7 +26,9 @@
'';
package = pkgs.caddy.withPlugins {
plugins = ["github.com/caddy-dns/hetzner@v1.0.0"];
hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ=";
# hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ=";
# hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ="
hash = "sha256-YUrprDZQL+cX3P8fVLKHouXTMG4rw3sCaQdGqiq37uA=";
};
};
};

View File

@@ -5,7 +5,7 @@
# ./zerotier.nix
# ./dnscrypt.nix
# ./ollama.nix
# ./llama.nix
./llama.nix
./tailscale.nix
./samba.nix
./mullvad.nix

View File

@@ -8,14 +8,12 @@
services = {
llama-cpp = {
enable = true;
port = 11435;
model = pkgs.fetchurl {
url = "https://huggingface.co/unsloth/gpt-oss-20b-GGUF/resolve/main/gpt-oss-20b-F16.gguf";
sha256 = "b93a63c42fc2432396b56031bb1a4aa5f598af1de369de397a900888032cad64";
sha256 = "sha256-vE1SpG4diQiP88u0viGnyZ8LtotTUU19UGecnwfjOkE=";
};
# package = pkgs.llama-cpp.overrideAttrs (old: {
# src = inputs.ik_llama;
# version = "5995";
# });
package = pkgs.ik_llama;
};
# caddy = {
# virtualHosts."llama.ryu.darksailor.dev".extraConfig = ''

View File

@@ -121,7 +121,10 @@
};
};
ddcbacklight = inputs.ddcbacklight.packages.${prev.system}.ddcbacklight;
# ghostty = inputs.ghostty.packages.${prev.system}.default;
ik_llama = prev.llama-cpp.overrideAttrs (oldAttrs: {
src = inputs.ik_llama;
version = "5995";
});
python312 = prev.python312.override {
packageOverrides = final: prev: {
pysaml2 = prev.pysaml2.overridePythonAttrs (orig: {