added ollama
This commit is contained in:
parent
0f13b27dc7
commit
4ade86b47f
@ -2,7 +2,8 @@
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 22 ];
|
||||
allowedTCPPorts = [ 80 443 22 26615 ];
|
||||
allowedUDPPorts = [ 26615 ];
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
@ -21,6 +22,10 @@
|
||||
|
||||
postgresql = { enable = true; };
|
||||
|
||||
i2p = { enable = true; };
|
||||
|
||||
ollama = { enable = true; };
|
||||
|
||||
gitea = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@ -51,7 +56,7 @@
|
||||
|
||||
home-assistant = {
|
||||
enable = true;
|
||||
extraComponents = [ "wiz" "fail2ban" ];
|
||||
extraComponents = [ "wiz" "fail2ban" "ollama" "wyoming" ];
|
||||
config = {
|
||||
default_config = { };
|
||||
"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 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server.port = 8005;
|
||||
server.secret_key = "secretlol";
|
||||
search.formats = ["html" "json"];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user