diff options
author | sils <sils@sils.li> | 2023-11-17 22:26:38 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-11-17 22:26:38 +0100 |
commit | a7acac59afe0c514df4201e9b0ddc2b76af16478 (patch) | |
tree | 9284abc914703bf51d494cd36844da7b4001b90e /hosts | |
parent | feat(treewide): add git-crypt (diff) | |
download | nix-config-a7acac59afe0c514df4201e9b0ddc2b76af16478.tar.gz nix-config-a7acac59afe0c514df4201e9b0ddc2b76af16478.zip |
feat(treewide): declare networks host-independent
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/thinklappi-bootstrap/default.nix | 9 | ||||
-rw-r--r-- | hosts/thinklappi/default.nix | 10 |
2 files changed, 3 insertions, 16 deletions
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"; |