From 7596211b892d907195887884752813c5ad0fc8f8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 15 Nov 2021 09:44:32 +0059 Subject: vidhar: ... --- hosts/vidhar/default.nix | 6 +++--- hosts/vidhar/dsl.nix | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'hosts/vidhar') diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index ad8f1a31..e8aafeb9 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -99,7 +99,7 @@ extraConfig = '' subnet 10.141.0.0 netmask 255.255.255.0 { range 10.141.0.128 10.141.0.254; - option domain-name-servers 1.1.1.1, 8.8.8.8; + option domain-name-servers 1.1.1.1, 1.0.0.1; } ''; }; @@ -112,8 +112,8 @@ } { name = "eno1"; advertise = true; - prefix = [{ prefix = "::/64"; }]; - route = [{ prefix = "::/0"; }]; + prefix = [{}]; + route = [{}]; } ]; }; diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix index bdce55a6..695c99dd 100644 --- a/hosts/vidhar/dsl.nix +++ b/hosts/vidhar/dsl.nix @@ -60,5 +60,17 @@ in { mode = "0555"; }; }; + + systemd.network.networks."dsl" = { + matchConfig = { + Name = "dsl"; + }; + networkConfig = { + LinkLocalAddressing = "no"; + DNS = [ + "1.1.1.1" "1.0.0.1" + ]; + }; + }; }; } -- cgit v1.2.3