18 lines
260 B
Nix
18 lines
260 B
Nix
{ ... }:
|
|
let
|
|
fqdn = "fit.freun.dev";
|
|
port = 3322;
|
|
in
|
|
{
|
|
services.workout-tracker = {
|
|
enable = true;
|
|
inherit port;
|
|
};
|
|
|
|
services.caddy.virtualHosts = {
|
|
"${fqdn}".extraConfig = ''
|
|
reverse_proxy localhost:${toString port}
|
|
'';
|
|
};
|
|
}
|