Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
yousiki committed May 27, 2024
1 parent 72f857d commit 18704da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cells/nixos/hosts/hakase/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"hakase-tunnel" = {
credentialsFile = "${config.age.secrets.hakase-tunnel-cert.path}";
ingress = {
"lobe.siki.moe" = "http://localhost:3210";
"nas.siki.moe" = "http://satoshi.siki.moe:5000";
"ollama.siki.moe" = "http://localhost:11434";
"qb.siki.moe" = "http://localhost:8080";
};
default = "http_status:404";
Expand All @@ -31,10 +33,16 @@
services.qbittorrent = {
enable = true;
webui.port = 8080;
openFirewall = true;
};

services.plex = {
enable = true;
openFirewall = true;
};

virtualisation.oci-containers.containers.lobe-chat = {
image = "lobehub/lobe-chat";
extraOptions = ["--network=host"];
};
}
4 changes: 4 additions & 0 deletions cells/nixos/profiles/ollama.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
then "cuda"
else null;
listenAddress = "0.0.0.0:11434";
environmentVariables = {
OLLAMA_ORIGINS = "*";
};
};
networking.firewall.allowedTCPPorts = [11434];
}

0 comments on commit 18704da

Please sign in to comment.