feat(nix): add nix-auth and update flake-utils dependencies

This commit is contained in:
uttarayan21
2025-10-30 22:37:43 +05:30
parent e68b9ca00a
commit 64380acf01
8 changed files with 132 additions and 63 deletions

View File

@@ -1,13 +1,11 @@
{
inputs,
pkgs,
lib,
config,
...
}: {
services = {
llama-cpp = {
enable = false;
enable = true;
port = 11435;
model = pkgs.fetchurl {
url = "https://huggingface.co/lmstudio-community/gpt-oss-20b-GGUF/resolve/main/gpt-oss-20b-MXFP4.gguf";
@@ -15,6 +13,9 @@
};
# package = pkgs.ik_llama;
};
ollama = {
enable = true;
};
caddy = {
virtualHosts."llama.ryu.darksailor.dev".extraConfig = ''
import hetzner
@@ -22,4 +23,7 @@
'';
};
};
# environment.systemPackages = with pkgs; [
# vllm
# ];
}