aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/machine/lipwig.nix1
-rw-r--r--nixos/machine/spt-mox.nix2
-rw-r--r--nixos/modules/home-assistant.nix1
-rw-r--r--nixos/modules/monitoring.nix3
4 files changed, 4 insertions, 3 deletions
diff --git a/nixos/machine/lipwig.nix b/nixos/machine/lipwig.nix
index f235455..042ee27 100644
--- a/nixos/machine/lipwig.nix
+++ b/nixos/machine/lipwig.nix
@@ -60,6 +60,7 @@ with lib; {
useACMEHost = "cynerd.cz";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.grafana.settings.server.http_port}/";
+ extraConfig = "proxy_set_header Host $host;";
proxyWebsockets = true;
};
};
diff --git a/nixos/machine/spt-mox.nix b/nixos/machine/spt-mox.nix
index accd963..7dc74fa 100644
--- a/nixos/machine/spt-mox.nix
+++ b/nixos/machine/spt-mox.nix
@@ -10,7 +10,7 @@ with lib; {
cynerd = {
home-assistant = true;
wifiAP.spt = {
- enable = true;
+ enable = false;
qca988x = {
interface = "wls1";
channel = 7;
diff --git a/nixos/modules/home-assistant.nix b/nixos/modules/home-assistant.nix
index efe5b84..813b41b 100644
--- a/nixos/modules/home-assistant.nix
+++ b/nixos/modules/home-assistant.nix
@@ -147,6 +147,7 @@ in {
extraPackages = pkgs:
with pkgs; [
securetar
+ pyipp
];
packageOverrides = self: super: {
scapy = super.scapy.override {
diff --git a/nixos/modules/monitoring.nix b/nixos/modules/monitoring.nix
index 7a9e7b7..36cd387 100644
--- a/nixos/modules/monitoring.nix
+++ b/nixos/modules/monitoring.nix
@@ -45,8 +45,7 @@ in {
agent = {};
outputs.influxdb_v2 = [
{
- # TODO change to lipwig!!
- urls = ["http://errol:8086"];
+ urls = ["http://cynerd.cz:8086"];
token = "$INFLUX_TOKEN";
organization = "personal";
bucket = "monitoring";