Compare commits
2 commits
fd9d7d25f8
...
c15b21d97f
| Author | SHA1 | Date | |
|---|---|---|---|
| c15b21d97f | |||
| a77c0f5337 |
5 changed files with 13 additions and 8 deletions
|
|
@ -197,6 +197,11 @@ in
|
||||||
host = "http://${p.hosts.docker}:3333";
|
host = "http://${p.hosts.docker}:3333";
|
||||||
domain = p.domains.public;
|
domain = p.domains.public;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
subdomain = "books";
|
||||||
|
host = "http://${p.hosts.docker-vm}:6060";
|
||||||
|
domain = p.domains.public;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -28,10 +28,10 @@ in
|
||||||
extraEnvironment = {
|
extraEnvironment = {
|
||||||
NEXTAUTH_URL = "https://keep.${p.domains.public}";
|
NEXTAUTH_URL = "https://keep.${p.domains.public}";
|
||||||
CRAWLER_FULL_PAGE_SCREENSHOT = "true";
|
CRAWLER_FULL_PAGE_SCREENSHOT = "true";
|
||||||
OPENAI_BASE_URL = "https://litellm.ts.${p.domains.public}";
|
OPENAI_BASE_URL = "https://openrouter.ai/api/v1";
|
||||||
INFERENCE_IMAGE_MODEL = "GPT-4o Mini";
|
INFERENCE_IMAGE_MODEL = "openai/gpt-4o-mini";
|
||||||
INFERENCE_TEXT_MODEL = "GPT-4.1 Mini";
|
INFERENCE_TEXT_MODEL = "openai/gpt-4.1-mini";
|
||||||
EMBEDDING_TEXT_MODEL = "text-embedding-3-small";
|
EMBEDDING_TEXT_MODEL = "openai/text-embedding-3-small";
|
||||||
DISABLE_PASSWORD_AUTH = "true";
|
DISABLE_PASSWORD_AUTH = "true";
|
||||||
OAUTH_PROVIDER_NAME = "Authentik";
|
OAUTH_PROVIDER_NAME = "Authentik";
|
||||||
OAUTH_WELLKNOWN_URL = "https://auth.${p.domains.public}/application/o/karakeep/.well-known/openid-configuration";
|
OAUTH_WELLKNOWN_URL = "https://auth.${p.domains.public}/application/o/karakeep/.well-known/openid-configuration";
|
||||||
|
|
@ -41,9 +41,5 @@ in
|
||||||
virtualisation.proxmox.enable = true;
|
virtualisation.proxmox.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 3000 ];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ ];
|
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ in
|
||||||
collabora = "collabora.${private-domain}";
|
collabora = "collabora.${private-domain}";
|
||||||
actual = "actual-budget.${private-domain}";
|
actual = "actual-budget.${private-domain}";
|
||||||
karakeep = "karakeep.${private-domain}";
|
karakeep = "karakeep.${private-domain}";
|
||||||
|
docker-vm = "docker-vm.${private-domain}";
|
||||||
};
|
};
|
||||||
personal = {
|
personal = {
|
||||||
username = "pazpi";
|
username = "pazpi";
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,9 @@ in
|
||||||
}
|
}
|
||||||
// cfg.extraEnvironment;
|
// cfg.extraEnvironment;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
(lib.mkIf cfg.proxy.enable {
|
(lib.mkIf cfg.proxy.enable {
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue