hosts: add phantom

This commit is contained in:
Leonardo Eugênio 2024-03-28 21:56:52 -03:00
parent c60e22b26a
commit 7ab7a3459a
12 changed files with 311 additions and 0 deletions

15
hosts/phantom/nginx.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, pkgs, inputs, ... }: {
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
security.acme = {
acceptTerms = true;
defaults.email = "lelgenio@disroot.org";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}