server/fili/services/websites/totpal.nix
Jana Dönszelmann 1efeddf961
Some checks are pending
/ lint (push) Waiting to run
retry
2025-08-20 12:03:37 +02:00

25 lines
465 B
Nix

{ flakes, pkgs, ... }:
let
totpal = flakes.totpal.packages.${pkgs.system}.default;
in
{
services.nginx = {
virtualHosts."totpal.donsz.nl" = {
forceSSL = true;
http2 = true;
enableACME = true;
locations."/" = {
proxyPass = "http://[::1]:2442";
};
};
};
systemd.services.totpal = {
description = "totpal";
serviceConfig = {
Type = "simple";
ExecStart = "${totpal}/bin/totpal";
};
};
}