aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-05-06 12:41:43 +0200
committerKarel Kočí <cynerd@email.cz>2024-05-06 12:41:43 +0200
commitd624ea8ad80d5d794dedf4f2c5ba1bfe6640b751 (patch)
tree002d5281db71581cd06b158c2ec91b59e8c2fcf0
parent7fe4a329bf6cf10b8522bd6fde5cadecb38c868e (diff)
downloadnixos-personal-d624ea8ad80d5d794dedf4f2c5ba1bfe6640b751.tar.gz
nixos-personal-d624ea8ad80d5d794dedf4f2c5ba1bfe6640b751.tar.bz2
nixos-personal-d624ea8ad80d5d794dedf4f2c5ba1bfe6640b751.zip
spt-omnia: use 1.1.1.1 as DNS instead of problematic ISP one
-rw-r--r--nixos/configurations/spt-omnia.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/configurations/spt-omnia.nix b/nixos/configurations/spt-omnia.nix
index e11a29c..e97f29f 100644
--- a/nixos/configurations/spt-omnia.nix
+++ b/nixos/configurations/spt-omnia.nix
@@ -138,8 +138,12 @@ in {
DHCP = "ipv6";
IPv6AcceptRA = "no";
DHCPPrefixDelegation = "yes";
+ DNS = "1.1.1.1";
+ };
+ dhcpV6Config = {
+ PrefixDelegationHint = "::/56";
+ UseDNS = "no";
};
- dhcpV6Config.PrefixDelegationHint = "::/56";
dhcpPrefixDelegationConfig = {
UplinkInterface = ":self";
SubnetId = 0;
@@ -173,7 +177,7 @@ in {
lcp-echo-adaptive
defaultroute
defaultroute6
- usepeerdns
+ #usepeerdns
maxfail 1
user metronet
password metronet