From 0c7e768235120ba358e5bb9a4df8660a3bf48015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 29 Nov 2023 15:39:30 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(neodymium/system)=20setup=20namese?= =?UTF-8?q?rvers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/system/networking/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/neodymium/system/networking/default.nix b/hosts/neodymium/system/networking/default.nix index 67fef21..362da7d 100644 --- a/hosts/neodymium/system/networking/default.nix +++ b/hosts/neodymium/system/networking/default.nix @@ -1,7 +1,10 @@ { lib, ... }: { - # set hostname + # the name of the machine networking.hostName = "neodymium"; + # domain name servers, use clouflare family + networking.nameservers = [ "1.1.1.2" "1.0.0.2" ]; + # use networkManager, see nmcli networking.networkmanager.enable = true; @@ -20,6 +23,4 @@ networking.useDHCP = lib.mkDefault true; # networking.interfaces.eno1.useDHCP = lib.mkDefault true; # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; - - imports = [ ./wireguard.nix ]; }