refactor immich

This commit is contained in:
Joakim Repomaa
2024-07-02 10:56:58 +03:00
parent cca6abb196
commit be9d398606
16 changed files with 417 additions and 61 deletions

View File

@@ -0,0 +1,25 @@
{ ... }:
let
fqdn = "vid.freun.dev";
in
{
services.invidious = {
enable = true;
domain = fqdn;
settings = {
external_port = 443;
db = {
dbname = "invidious";
user = "invidious";
};
};
};
services.caddy.virtualHosts = {
"${fqdn}".extraConfig = ''
reverse_proxy localhost:3000
'';
};
}