From a7acac59afe0c514df4201e9b0ddc2b76af16478 Mon Sep 17 00:00:00 2001 From: sils Date: Fri, 17 Nov 2023 22:26:38 +0100 Subject: feat(treewide): declare networks host-independent --- hosts/thinklappi-bootstrap/default.nix | 9 +-------- hosts/thinklappi/default.nix | 10 ++-------- 2 files changed, 3 insertions(+), 16 deletions(-) (limited to 'hosts') diff --git a/hosts/thinklappi-bootstrap/default.nix b/hosts/thinklappi-bootstrap/default.nix index 4f12133..a72f3d0 100644 --- a/hosts/thinklappi-bootstrap/default.nix +++ b/hosts/thinklappi-bootstrap/default.nix @@ -29,14 +29,7 @@ i18n.defaultLocale = "en_US.UTF-8"; - networking = { - hostName = "thinklappi"; - #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"]; - networkmanager = { - enable = true; - #dns = "none"; - }; - }; + networking.hostName = "thinklappi"; time.timeZone = "Europe/Berlin"; diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix index 2f53390..1679e0c 100644 --- a/hosts/thinklappi/default.nix +++ b/hosts/thinklappi/default.nix @@ -1,4 +1,5 @@ { + config, pkgs, ... @@ -25,14 +26,7 @@ i18n.defaultLocale = "en_US.UTF-8"; - networking = { - hostName = "thinklappi"; - #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"]; - networkmanager = { - enable = true; - #dns = "none"; - }; - }; + networking.hostName = "thinklappi"; time.timeZone = "Europe/Berlin"; -- cgit 1.4.1