diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index bbbf33d..af5acbc 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -180,6 +180,7 @@ in services = { sshguard.enable = false; gitea.enable = true; + hass.enable = true; grafana = { enable = true; @@ -224,8 +225,10 @@ in subvolume = "/var/lib"; repo = "${prefix}-var_lib"; paths = [ - "headscale" + "hass" "gitea" + "grafana" + "headscale" "private/photoprism" ]; patterns = [ "- gitea/data/repo-archive/" ]; diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 77ecc76..0ec5e4d 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -63,7 +63,6 @@ paths = [ "bitwarden_rs" "caddy" - "hass" "nsd-acme" "tailscale" "private/soju" @@ -84,7 +83,6 @@ paths = [ "bitwarden_rs" "caddy" - "hass" "nsd-acme" "tailscale" "private/soju" @@ -156,7 +154,6 @@ tailscale.enable = true; node_exporter.enable = true; sshguard.enable = true; - hass.enable = true; nsd-acme = let @@ -235,7 +232,7 @@ "hass.jakstys.lt:80".extraConfig = '' @denied not remote_ip ${myData.subnets.tailscale.cidr} abort @denied - reverse_proxy 127.0.0.1:${toString myData.ports.hass} + reverse_proxy ${fwminex-jakst}:${toString myData.ports.hass} ''; "grafana.jakstys.lt:80".extraConfig = '' @denied not remote_ip ${myData.subnets.tailscale.cidr}