modules/networking-client: use structured NM settings

This commit is contained in:
Max Headroom 2024-04-25 01:48:24 +02:00
parent 89de65f5ea
commit 402b398d37

View file

@ -6,12 +6,11 @@
networking.networkmanager = { networking.networkmanager = {
dns = "systemd-resolved"; dns = "systemd-resolved";
enableStrongSwan = false; enableStrongSwan = false;
extraConfig = '' settings.connectivity = {
[connectivity] url = "http://whoami.privatevoid.net/online";
uri=http://whoami.privatevoid.net/online respone = "CONNECTED_GLOBAL";
response=CONNECTED_GLOBAL interval = 120;
interval=120 };
'';
}; };
services.resolved = { services.resolved = {
enable = true; enable = true;