diff options
| author | Fuwn <[email protected]> | 2024-09-11 03:34:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-11 03:34:39 -0700 |
| commit | b84cc156236ecd4fbe0c9d458e46078df625cb47 (patch) | |
| tree | 18d5355ef83ebe992074a5cbff14f393b8481b67 /modules/software/networking/default.nix | |
| parent | Bump: i2p (diff) | |
| download | nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.tar.xz nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.zip | |
Bump: move networking module
Diffstat (limited to 'modules/software/networking/default.nix')
| -rw-r--r-- | modules/software/networking/default.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/modules/software/networking/default.nix b/modules/software/networking/default.nix deleted file mode 100644 index 724693d..0000000 --- a/modules/software/networking/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ secrets, ... }: -{ - imports = [ - ./firewall - ./vpn - ./dhcpcd.nix - ./i2p.nix - ./ipv6.nix - ./loopback.nix - ./networkmanager.nix - ./optimise.nix - ./resolved.nix - ./tor.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" - ]; - }; -} |