From 9930032ebc43e8037a010afd4f7bd4926b12da84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 2 Aug 2024 14:31:24 +0300 Subject: [PATCH] gitea: move to fwminex --- hosts/fwminex/configuration.nix | 9 +++++++++ hosts/vno1-oh2/configuration.nix | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 2bcfdc9..b93dbcc 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -74,6 +74,13 @@ in powerKey = "suspend"; powerKeyLongPress = "poweroff"; }; + + caddy = { + enable = true; + globalConfig = '' + auto_https off + ''; + }; }; mj = { @@ -96,6 +103,8 @@ in services = { sshguard.enable = false; + gitea.enable = true; + tailscale = { enable = true; verboseLogs = false; diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index ce99578..0f7e9f2 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -164,7 +164,6 @@ tailscale.enable = true; node_exporter.enable = true; - gitea.enable = true; sshguard.enable = true; hass.enable = true; @@ -240,6 +239,7 @@ "vpn.jakstys.lt".extraConfig = ''reverse_proxy ${ myData.hosts."fwminex.servers.jakst".vno1IP }:8080''; + "git.jakstys.lt".extraConfig = ''reverse_proxy ${myData.hosts."fwminex.servers.jakst".vno1IP}''; "hass.jakstys.lt".extraConfig = '' @denied not remote_ip ${myData.subnets.tailscale.cidr} abort @denied