diff options
| author | Fuwn <[email protected]> | 2024-09-22 15:20:16 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-22 15:20:16 -0700 |
| commit | c8ae1846c8769c397f396ba924fca7234126c2f0 (patch) | |
| tree | 395dfc7f10130234e5d786c4063b8345721616e8 /modules/core/networking/default.nix | |
| parent | core: move harware and software to desktop (diff) | |
| download | nixos-config-c8ae1846c8769c397f396ba924fca7234126c2f0.tar.xz nixos-config-c8ae1846c8769c397f396ba924fca7234126c2f0.zip | |
core: move kansai networking to desktop
Diffstat (limited to 'modules/core/networking/default.nix')
| -rw-r--r-- | modules/core/networking/default.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/modules/core/networking/default.nix b/modules/core/networking/default.nix index 2874fa3..1f59251 100644 --- a/modules/core/networking/default.nix +++ b/modules/core/networking/default.nix @@ -1,33 +1,5 @@ -{ secrets, ... }: { imports = [ - ./loopback.nix ./tailscale.nix ]; - - # https://discourse.nixos.org/t/rebuild-error-failed-to-start-network-manager-wait-online/41977/2 - systemd.network.wait-online.enable = false; - boot.initrd.systemd.network.wait-online.enable = false; - - # https://discourse.nixos.org/t/how-to-disable-networkmanager-wait-online-service-in-the-configuration-file/19963/2 - systemd.services.NetworkManager-wait-online.enable = false; - - networking = { - hostName = "kansai"; - nftables.enable = true; - - nameservers = [ - "45.90.28.0#${secrets.nextdns_id}.dns.nextdns.io" - "2a07:a8c0::#${secrets.nextdns_id}.dns.nextdns.io" - "45.90.30.0#${secrets.nextdns_id}.dns.nextdns.io" - "2a07:a8c1::#${secrets.nextdns_id}.dns.nextdns.io" - ]; - - timeServers = [ - "0.nixos.pool.ntp.org" - "1.nixos.pool.ntp.org" - "2.nixos.pool.ntp.org" - "3.nixos.pool.ntp.org" - ]; - }; } |