config

NixOS config
Log | Files | Refs | README | LICENSE

commit 94f4f719448ade152173a77c8aac8dc4cd04df00 (tree)
parent 7d025ffbb4a70c41033e6cf2678de1f234e845ac
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Mon, 29 Jul 2024 16:48:08 +0300

fra1-a: disable caddy

Diffstat:
Mhosts/fra1-a/configuration.nix | 26+-------------------------
1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/hosts/fra1-a/configuration.nix b/hosts/fra1-a/configuration.nix @@ -1,5 +1,4 @@ { - lib, config, myData, modulesPath, @@ -108,24 +107,6 @@ }; services = { - caddy = { - enable = true; - email = "motiejus+acme@jakstys.lt"; - globalConfig = '' - servers { - metrics - } - ''; - virtualHosts = { - "www.11sync.net".extraConfig = '' - redir https://jakstys.lt/2024/11sync-shutdown/ - ''; - "11sync.net".extraConfig = lib.mkForce '' - redir https://jakstys.lt/2024/11sync-shutdown/ - ''; - }; - }; - nsd = { enable = true; interfaces = [ @@ -145,15 +126,10 @@ domain = "servers.jakst"; useDHCP = true; firewall = { - allowedUDPPorts = [ - 53 - 443 - ]; + allowedUDPPorts = [ 53 ]; allowedTCPPorts = [ 22 53 - 80 - 443 ]; }; };