Compare commits

...

2 Commits

Author SHA1 Message Date
8dc2ee3d54 remove ollama stuff 2024-11-16 01:52:30 -05:00
0e856624b4 firewall: add port 80 2024-11-16 00:30:47 -05:00
2 changed files with 1 additions and 19 deletions

View File

@@ -52,6 +52,7 @@
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
service_configs.ports.https service_configs.ports.https
80
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [

View File

@@ -1,19 +0,0 @@
{
pkgs,
config,
service_configs,
...
}:
{
services.ollama = {
enable = true;
home = service_configs.ollama.data_dir + "/home";
models = config.services.ollama.home + "/models";
environmentVariables = {
OLLAMA_LLM_LIBRARY = "cpu_avx2";
};
host = "0.0.0.0";
port = service_configs.ports.ollama;
user = "ollama";
};
}