2024-10-09 14:27:12 +02:00
|
|
|
{ pkgs, config, ... }:
|
2023-04-29 23:29:05 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
tinc.private.enable = true;
|
|
|
|
tinc.private.ipv4 = "10.23.42.28";
|
|
|
|
|
2024-10-09 14:27:12 +02:00
|
|
|
healthchecks.localCommands.ping-private = pkgs.writers.writeBash "ping-private" ''
|
|
|
|
ping -c 1 -W 5 ${config.tinc.private.ipv4}
|
|
|
|
'';
|
|
|
|
|
2023-04-29 23:29:05 +02:00
|
|
|
}
|