21 lines
349 B
Nix
21 lines
349 B
Nix
{ config, inputs', ... }:
|
|
let
|
|
fqdn = "trackmap.freun.dev";
|
|
in
|
|
{
|
|
imports = [
|
|
inputs'.gtrackmap.nixosModules.default
|
|
];
|
|
|
|
services.gtrackmap = {
|
|
enable = true;
|
|
port = 3200;
|
|
};
|
|
|
|
services.caddy.virtualHosts = {
|
|
"${fqdn}".extraConfig = ''
|
|
reverse_proxy localhost:${toString config.services.gtrackmap.port}
|
|
'';
|
|
};
|
|
}
|