started binary cache

This commit is contained in:
k
2024-12-12 16:48:48 +00:00
parent bf46656fcd
commit cf30b5d7be
3 changed files with 39 additions and 5 deletions

View File

@@ -24,7 +24,17 @@
i2p = { enable = true; };
ollama = { enable = true; };
nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
};
ollama = {
enable = true;
package = pkgs.ollama.overrideAttrs (oldAttrs: {
NIX_CFLAGS_COMPILE = "${oldAttrs.NIX_CFLAGS_COMPILE or ""} -mavx2 -mfma -march=native -O3";
});
};
gitea = {
enable = true;
@@ -72,7 +82,7 @@
piper.servers."piperNix" = {
enable = true;
uri = "tcp://0.0.0.0:10200";
voice = "en-us-ryan-medium";
voice = "en-us-ryan-low";
};
faster-whisper.servers."whisperNix" = {
enable = true;
@@ -158,6 +168,10 @@
proxyWebsockets = true;
};
};
"nix.dhilton.xyz" = {
locations."/".proxyPass = "http://127.0.0.1:5000";
};
};
};
};