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 = {
dns = "systemd-resolved";
enableStrongSwan = false;
extraConfig = ''
[connectivity]
uri=http://whoami.privatevoid.net/online
response=CONNECTED_GLOBAL
interval=120
'';
settings.connectivity = {
url = "http://whoami.privatevoid.net/online";
respone = "CONNECTED_GLOBAL";
interval = 120;
};
};
services.resolved = {
enable = true;