From b247f9491f43977358c7dd4467d58936e8c16ee6 Mon Sep 17 00:00:00 2001 From: rndusr Date: Mon, 18 Dec 2023 16:52:42 -0600 Subject: [PATCH] add a crap ton of aliases --- boxes/netbox.nix | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/boxes/netbox.nix b/boxes/netbox.nix index 138ea01..3e9ed0b 100644 --- a/boxes/netbox.nix +++ b/boxes/netbox.nix @@ -79,7 +79,6 @@ users.users.ryan = { isNormalUser = true; extraGroups = [ "wheel" "docker" ]; - packages = [ "browsh" ]; }; users.users.paperlesspassthrough = { @@ -154,6 +153,12 @@ locations."/".proxyPass = "http://localhost:3004"; }; + services.nginx.virtualHosts."bit.beepboop.systems" = { + forceSSL = true; + enableACME = true; + globalRedirect = "bitwarden.beepboop.systems"; + }; + services.nginx.virtualHosts."bitwarden.beepboop.systems" = { forceSSL = true; enableACME = true; @@ -175,12 +180,16 @@ }; }; - services.nginx.virtualHosts."ntfy.beepboop.systems" = { + services.nginx.virtualHosts."calendar.beepboop.systems" = { forceSSL = true; enableACME = true; - locations."/" = { - proxyPass = "http://127.0.0.1:3500"; - }; + globalRedirect = "radicale.beepboop.systems"; + }; + + services.nginx.virtualHosts."cal.beepboop.systems" = { + forceSSL = true; + enableACME = true; + globalRedirect = "radicale.beepboop.systems"; }; services.nginx.virtualHosts."skillissue.agency" = { @@ -208,6 +217,18 @@ ''; }; + services.nginx.virtualHosts."roundcube.beepboop.systems" = { + forceSSL = true; + enableACME = true; + globalRedirect = "cube.beepboop.systems"; + }; + + services.nginx.virtualHosts."mail.beepboop.systems" = { + forceSSL = true; + enableACME = true; + globalRedirect = "cube.beepboop.systems"; + }; + networking.firewall = { enable = true; allowedTCPPorts = [ 5232 55555 22 80 443 ];