commit 70d2833fa07da9dc475a55ff14fa5c0b508adcbd (tree)
parent 323ebd0ca7fd9e03ad2ef75b3abf136a44817169
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Sat, 3 Aug 2024 06:33:09 +0300
move hass to fwminex
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git 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
@@ -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}