This commit is contained in:
2025-09-23 19:13:46 +03:00
parent 15e1a9295c
commit 4f083668b3
4 changed files with 46 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@
# ./open-webui.nix # ./open-webui.nix
../software/beets ../software/beets
./calibre-web.nix ./calibre-web.nix
./memos.nix
./immich.nix ./immich.nix
./mealie.nix ./mealie.nix
./miniflux.nix ./miniflux.nix
+19
View File
@@ -0,0 +1,19 @@
{
config,
xlib,
...
}:
{
services.memos = {
enable = true;
openFirewall = true;
settings = {
#MEMOS_MODE = "prod";
MEMOS_ADDR = "127.0.0.1";
MEMOS_PORT = "5230";
#MEMOS_DATA = config.services.memos.dataDir;
MEMOS_DRIVER = "sqlite";
MEMOS_INSTANCE_URL = "http://localhost:5230";
};
};
}
+14
View File
@@ -55,6 +55,20 @@
} }
]; ];
}; };
"localhost:5230" = {
forceSSL = false;
enableACME = false;
listen = [
{
addr = "100.64.0.0";
port = 5230;
}
{
addr = "192.168.1.20";
port = 5230;
}
];
};
}; };
}; };
}; };
+12
View File
@@ -48,6 +48,18 @@ in
client_max_body_size 5G; client_max_body_size 5G;
''; '';
}; };
"memos.zeroq.ru" = {
enableACME = true;
forceSSL = true;
kTLS = true;
locations."/" = {
proxyPass = "http://${server}:5230";
proxyWebsockets = true; # collabora uses websockets
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"immich.zeroq.ru" = { "immich.zeroq.ru" = {
# 31.57.105.253 # 31.57.105.253
forceSSL = true; forceSSL = true;