diff --git a/modules/networking-client/default.nix b/modules/networking-client/default.nix index f782ed4..f1dabfa 100644 --- a/modules/networking-client/default.nix +++ b/modules/networking-client/default.nix @@ -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;