Compare commits

..

2 Commits

Author SHA1 Message Date
8a169dbfa1 fix(open-webui): use stable 2025-07-11 20:43:58 +08:00
2c035ac47a fix: immich 2025-07-11 20:43:58 +08:00
3 changed files with 25 additions and 9 deletions

View File

@@ -1,8 +1,10 @@
{ pkgs, ... }:
{ {
services.open-webui = { services.open-webui = {
enable = true; enable = true;
host = "127.0.0.1"; host = "127.0.0.1";
port = 8089; port = 8089;
package = pkgs.stable.open-webui;
}; };
services.caddy.virtualHosts."ai.imxyy.top" = { services.caddy.virtualHosts."ai.imxyy.top" = {
extraConfig = '' extraConfig = ''

View File

@@ -4,15 +4,14 @@
enable = true; enable = true;
host = "127.0.0.1"; host = "127.0.0.1";
port = 8096; port = 8096;
user = "nas"; mediaLocation = "/mnt/nas/immich";
group = "nextcloud"; group = "nextcloud";
mediaLocation = "/mnt/nas/share"; };
services.caddy.virtualHosts."immich.imxyy.top" = { services.caddy.virtualHosts."immich.imxyy.top" = {
extraConfig = '' extraConfig = ''
reverse_proxy :8096 { reverse_proxy :8096 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}
} }
''; '';
};
}; };
} }

View File

@@ -392,6 +392,21 @@
customDomains = [ "matrix.imxyy.top" ]; customDomains = [ "matrix.imxyy.top" ];
} }
{
name = "immich-http";
type = "http";
localIP = "127.0.0.1";
localPort = 80;
customDomains = [ "immich.imxyy.top" ];
}
{
name = "immich-https";
type = "https";
localIP = "127.0.0.1";
localPort = 443;
customDomains = [ "immich.imxyy.top" ];
}
{ {
name = "minecraft"; name = "minecraft";
type = "tcp"; type = "tcp";