nixfleet/modules/org-roam-ui/default.nix
Andrea Ciceri a394b9cefd
All checks were successful
/ test (push) Successful in 32s
Reformat everything
2024-09-20 11:37:17 +02:00

21 lines
394 B
Nix

{ ... }:
{
networking.firewall.interfaces."wg0" = {
allowedTCPPorts = [
35901
];
};
imports = [ ../nginx-base ];
services.nginx.virtualHosts = {
"roam.aciceri.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:35901";
proxyWebsockets = true;
};
};
};
# TODO use oauth2 proxy
}