added ollama
This commit is contained in:
parent
0f13b27dc7
commit
4ade86b47f
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 80 443 22 ];
|
allowedTCPPorts = [ 80 443 22 26615 ];
|
||||||
|
allowedUDPPorts = [ 26615 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
@ -21,6 +22,10 @@
|
|||||||
|
|
||||||
postgresql = { enable = true; };
|
postgresql = { enable = true; };
|
||||||
|
|
||||||
|
i2p = { enable = true; };
|
||||||
|
|
||||||
|
ollama = { enable = true; };
|
||||||
|
|
||||||
gitea = {
|
gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -51,7 +56,7 @@
|
|||||||
|
|
||||||
home-assistant = {
|
home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraComponents = [ "wiz" "fail2ban" ];
|
extraComponents = [ "wiz" "fail2ban" "ollama" "wyoming" ];
|
||||||
config = {
|
config = {
|
||||||
default_config = { };
|
default_config = { };
|
||||||
"automation ui" = "!include automations.yaml";
|
"automation ui" = "!include automations.yaml";
|
||||||
@ -63,11 +68,25 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wyoming = {
|
||||||
|
piper.servers."piperNix" = {
|
||||||
|
enable = true;
|
||||||
|
uri = "tcp://0.0.0.0:10200";
|
||||||
|
voice = "en-us-ryan-medium";
|
||||||
|
};
|
||||||
|
faster-whisper.servers."whisperNix" = {
|
||||||
|
enable = true;
|
||||||
|
uri = "tcp://0.0.0.0:10300";
|
||||||
|
language = "en";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
searx = {
|
searx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
server.port = 8005;
|
server.port = 8005;
|
||||||
server.secret_key = "secretlol";
|
server.secret_key = "secretlol";
|
||||||
|
search.formats = ["html" "json"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user