From a2a84a66bc088c06aacf2823ce751da6df5d1e00 Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 22 May 2024 18:00:19 +0200 Subject: [PATCH] configuration/desktop: Migrate networkmanager settings to attribute set --- configuration/desktop/networking.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/configuration/desktop/networking.nix b/configuration/desktop/networking.nix index 51d7a56..5d3704e 100644 --- a/configuration/desktop/networking.nix +++ b/configuration/desktop/networking.nix @@ -2,12 +2,13 @@ { - networking.networkmanager.extraConfig = '' - [connectivity] - uri=http://ping.clerie.de/nm-check.txt - - [global-dns] - searches=net.clerie.de - ''; + networking.networkmanager.settings = { + connectivity = { + uri = "http://ping.clerie.de/nm-check.txt"; + }; + global-dns = { + searches = "net.clerie.de"; + }; + }; }