summaryrefslogtreecommitdiff
path: root/modules/common/networking.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-06-29 01:43:37 +0300
committerAzat Bahawi <azat@bahawi.net>2024-06-29 01:43:37 +0300
commit31ab954db3dbc0a07e7b58c59da003088ee7943d (patch)
tree774b3cc777d537c33475255b4bb0eb190fefd2ba /modules/common/networking.nix
parentb212b16a14ea12384c4b19ad453076502855a738 (diff)
2024-06-29
Diffstat (limited to 'modules/common/networking.nix')
-rw-r--r--modules/common/networking.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/common/networking.nix b/modules/common/networking.nix
index e891e58..2867825 100644
--- a/modules/common/networking.nix
+++ b/modules/common/networking.nix
@@ -28,11 +28,14 @@ in
# Remove default hostname mappings. This is required at least by the
# current implementation of the monitoring module.
hosts = {
- "127.0.0.1" = mkForce [ ];
+ "127.0.0.2" = mkForce [ ];
"::1" = mkForce [ ];
};
- nameservers = mkDefault dns.const.quad9.default;
+ nameservers = with my.configurations.manwe.wireguard; [
+ ipv4.address
+ ipv6.address
+ ];
useDHCP = false;