1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-05-11 22:49:04 +02:00
parent be9fb9278e
commit b8af0e9761
No known key found for this signature in database
165 changed files with 1815 additions and 1431 deletions

27
hosts/abacus/mealie.nix Normal file
View file

@ -0,0 +1,27 @@
{ config, ... }:
let
virtualHostName = "mealie.helveticanonstandard.net";
in
{
services.mealie = {
enable = true;
settings = {
BASE_URL = "https://${virtualHostName}";
ALLOW_SIGNUP = false;
};
listenAddress = "127.0.0.1";
port = 8040;
};
services.nginx.virtualHosts.${virtualHostName} = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass =
let
host = config.services.mealie.listenAddress;
port = builtins.toString config.services.mealie.port;
in
"http://${host}:${port}";
};
}