move hass to fwminex

This commit is contained in:
Motiejus Jakštys 2024-08-03 06:33:09 +03:00
parent 323ebd0ca7
commit 70d2833fa0
2 changed files with 5 additions and 5 deletions

View File

@ -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/" ];

View File

@ -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}