move hass to fwminex
This commit is contained in:
parent
323ebd0ca7
commit
70d2833fa0
@ -180,6 +180,7 @@ in
|
|||||||
services = {
|
services = {
|
||||||
sshguard.enable = false;
|
sshguard.enable = false;
|
||||||
gitea.enable = true;
|
gitea.enable = true;
|
||||||
|
hass.enable = true;
|
||||||
|
|
||||||
grafana = {
|
grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -224,8 +225,10 @@ in
|
|||||||
subvolume = "/var/lib";
|
subvolume = "/var/lib";
|
||||||
repo = "${prefix}-var_lib";
|
repo = "${prefix}-var_lib";
|
||||||
paths = [
|
paths = [
|
||||||
"headscale"
|
"hass"
|
||||||
"gitea"
|
"gitea"
|
||||||
|
"grafana"
|
||||||
|
"headscale"
|
||||||
"private/photoprism"
|
"private/photoprism"
|
||||||
];
|
];
|
||||||
patterns = [ "- gitea/data/repo-archive/" ];
|
patterns = [ "- gitea/data/repo-archive/" ];
|
||||||
|
@ -63,7 +63,6 @@
|
|||||||
paths = [
|
paths = [
|
||||||
"bitwarden_rs"
|
"bitwarden_rs"
|
||||||
"caddy"
|
"caddy"
|
||||||
"hass"
|
|
||||||
"nsd-acme"
|
"nsd-acme"
|
||||||
"tailscale"
|
"tailscale"
|
||||||
"private/soju"
|
"private/soju"
|
||||||
@ -84,7 +83,6 @@
|
|||||||
paths = [
|
paths = [
|
||||||
"bitwarden_rs"
|
"bitwarden_rs"
|
||||||
"caddy"
|
"caddy"
|
||||||
"hass"
|
|
||||||
"nsd-acme"
|
"nsd-acme"
|
||||||
"tailscale"
|
"tailscale"
|
||||||
"private/soju"
|
"private/soju"
|
||||||
@ -156,7 +154,6 @@
|
|||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
node_exporter.enable = true;
|
node_exporter.enable = true;
|
||||||
sshguard.enable = true;
|
sshguard.enable = true;
|
||||||
hass.enable = true;
|
|
||||||
|
|
||||||
nsd-acme =
|
nsd-acme =
|
||||||
let
|
let
|
||||||
@ -235,7 +232,7 @@
|
|||||||
"hass.jakstys.lt:80".extraConfig = ''
|
"hass.jakstys.lt:80".extraConfig = ''
|
||||||
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
||||||
abort @denied
|
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 = ''
|
"grafana.jakstys.lt:80".extraConfig = ''
|
||||||
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
||||||
|
Loading…
Reference in New Issue
Block a user