From 402b398d37673272635d352b8cb722d9d15dde3b Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 25 Apr 2024 01:48:24 +0200 Subject: [PATCH] modules/networking-client: use structured NM settings --- modules/networking-client/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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;