dots/modules/nixos/features/karakeep.nix
2025-12-15 21:33:01 +11:00

20 lines
366 B
Nix

let
port = "5014";
in
{
services = {
karakeep = {
enable = true;
extraEnvironment = {
PORT = port;
DISABLE_NEW_RELEASE_CHECK = "true";
};
};
nginx.virtualHosts."karakeep.fi33.buzz" = {
forceSSL = true;
useACMEHost = "fi33.buzz";
locations."/".proxyPass = "http://localhost:${port}";
};
};
}