Built but needs testing

This commit is contained in:
2026-07-01 10:34:40 +02:00
parent 1ecec8e0d6
commit 7dc85f8f9a
4 changed files with 30 additions and 15 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
};
ollama = {
endpoint = "http://100.109.179.25:11434"; # tailscale IP, no /v1 suffix
endpoint = "http://100.86.56.71:11434"; # tailscale IP, no /v1 suffix
model = "qwen2.5:3b"; # swap for "llama3.2:3b" or "deepseek-r1:1.5b"
timeout = 60000; # local + small model can be slow on first load
disable_tools = true; # these small models aren't reliable at tool calling
+1 -1
View File
@@ -12,7 +12,7 @@ _: {
npm = "@ai-sdk/openai-compatible";
name = "Ollama (tailscale)";
options = {
baseURL = "http://100.109.179.25:11434/v1";
baseURL = "http://100.86.56.71:11434/v1";
};
models = {
"llama3.2:3b" = {
+2 -1
View File
@@ -1,6 +1,7 @@
_:
let
upstream = "100.109.179.25";
upstream = "100.86.56.71";
mkProxy = port: {
forceSSL = true;
+23 -9
View File
@@ -17,6 +17,8 @@
libx11,
SDL2,
gmp,
git,
gcc,
autoconf,
automake,
libtool,
@@ -33,7 +35,7 @@ let
owner = "xonotic";
repo = "darkplaces";
rev = "ddabe55ae766087df0b82d214ca4b6d79a443345";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
hash = "sha256-S1jWfMx60lTcpMv4DxoDI2BT124bo/jzjtezSsQUL2M=";
};
d0_blind_id-src = fetchFromGitLab {
@@ -41,7 +43,7 @@ let
owner = "xonotic";
repo = "d0_blind_id";
rev = "64983f4156e860a94a6f5e264c67a1c2df69d7e9";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
hash = "sha256-KblIXuzDTcFk7x3YFtJkugrqZ47+aQbDE0fL/sfUxUc=";
};
xonotic-data = fetchFromGitLab {
@@ -49,7 +51,7 @@ let
owner = "xonotic";
repo = "xonotic-data.pk3dir";
rev = "bc2ce0925b46ff79d4deb4cf4995f1330f00de43";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
hash = "sha256-b5QvLdAFxn/7EjF0lufL1DbuXGgC39k6zfVN7G+mD2I=";
};
desktopItem = makeDesktopItem {
@@ -76,9 +78,7 @@ let
libtool
];
buildInputs = [ gmp ];
preConfigure = "autoreconf -fi";
configureFlags = [ "--prefix=$out" ];
enableParallelBuilding = true;
};
@@ -99,6 +99,7 @@ let
dontStrip = false;
enableParallelBuilding = true;
env.NIX_CFLAGS_COMPILE = "-std=gnu11";
preBuild = ''
mkdir -p ../d0_blind_id/include ../d0_blind_id/lib
@@ -154,14 +155,27 @@ let
inherit version;
src = xonotic-data;
nativeBuildInputs = [ gmqcc ];
nativeBuildInputs = [
gmqcc
git
gcc
];
preBuild = ''
chmod +w qcsrc/tools/qcc.sh
patchShebangs qcsrc/tools/
'';
buildPhase = ''
runHook preBuild
export QCC="${gmqcc}/bin/gmqcc"
export QCCFLAGS_WATERMARK=nix_build
export ZIP=/bin/true
make -C qcsrc -j $NIX_BUILD_CORES
export CPP="cc -xc -E"
export WORKDIR="../.tmp"
export QCCFLAGS_WATERMARK="nix_build"
export ZIP=true
ls -la qcsrc/tools/qcc.sh || echo "MISSING"
ls -la qcsrc/tools/ || echo "DIR MISSING"
make -C qcsrc -j1
runHook postBuild
'';