parent
6e74b0e916
commit
76f20fb831
4 changed files with 10 additions and 1 deletions
machines
|
@ -18,6 +18,9 @@
|
||||||
"wireguard.wg0.ip" = "10.100.0.7";
|
"wireguard.wg0.ip" = "10.100.0.7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# actually important to make machine visible over wireguard
|
||||||
|
services.telegraf.extraConfig.inputs.ping = [ { urls = [ "10.100.0.1" ]; } ];
|
||||||
|
|
||||||
# Enable WireGuard
|
# Enable WireGuard
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
# Hub and Spoke Setup
|
# Hub and Spoke Setup
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
|
||||||
./network-tinc.nix
|
./network-tinc.nix
|
||||||
./network-wireguard.nix
|
./network-wireguard-wg0.nix
|
||||||
|
|
||||||
./hass-mqtt.nix
|
./hass-mqtt.nix
|
||||||
./hass-zigbee2mqtt.nix
|
./hass-zigbee2mqtt.nix
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
"wireguard.wg0.ip" = "10.100.0.2";
|
"wireguard.wg0.ip" = "10.100.0.2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# actually important to make machine visible over wireguard
|
||||||
|
services.telegraf.extraConfig.inputs.ping = [ { urls = [ "10.100.0.1" ]; } ];
|
||||||
|
|
||||||
# Enable WireGuard
|
# Enable WireGuard
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
# Hub and Spoke Setup
|
# Hub and Spoke Setup
|
|
@ -12,6 +12,9 @@
|
||||||
"wireguard.wg0.ip" = "10.100.0.100";
|
"wireguard.wg0.ip" = "10.100.0.100";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# actually important to make machine visible over wireguard
|
||||||
|
services.telegraf.extraConfig.inputs.ping = [ { urls = [ "10.100.0.1" ]; } ];
|
||||||
|
|
||||||
# Enable WireGuard
|
# Enable WireGuard
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
# Hub and Spoke Setup
|
# Hub and Spoke Setup
|
||||||
|
|
Loading…
Add table
Reference in a new issue