phandom: add warthunder-leak-counter

This commit is contained in:
Leonardo Eugênio 2024-06-22 14:20:37 -03:00
parent 0fa3ae4add
commit c4f9705002
4 changed files with 102 additions and 1 deletions

View file

@ -18,6 +18,7 @@
./writefreely.nix
./email.nix
./forgejo.nix
./warthunder-leak-counter.nix
];
networking.hostName = "phantom";

View file

@ -0,0 +1,19 @@
{
inputs,
pkgs,
config,
...
}:
{
imports = [ inputs.warthunder-leak-counter.nixosModules.default ];
services.warthunder-leak-counter.enable = true;
services.nginx.virtualHosts."warthunder-leak-counter.lelgenio.com" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.warthunder-leak-counter.port}";
};
};
}