From 901853850d12a8668c37cee8106a8354aa3561c0 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Sun, 9 Jun 2024 21:29:53 +0200 Subject: [PATCH] resolved config stuff so i have dns (deez nuts) --- hosts/x86_64-linux/beleth/default.nix | 1 - hosts/x86_64-linux/beleth/networking.nix | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index a7a18a7..8f87e79 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -127,7 +127,6 @@ with lib; { # Enable the OpenSSH daemon. services.openssh.enable = true; - services.resolved.enable = true; services.mullvad-vpn.enable = true; # Open ports in the firewall. diff --git a/hosts/x86_64-linux/beleth/networking.nix b/hosts/x86_64-linux/beleth/networking.nix index 6391e80..952fbb2 100644 --- a/hosts/x86_64-linux/beleth/networking.nix +++ b/hosts/x86_64-linux/beleth/networking.nix @@ -38,4 +38,9 @@ address = "fe80::1"; }; }; + + services.resolved.enable = true; + services.resolved.extraConfig = '' + DNS=2a01:4ff:ff00::add:1 2a01:4ff:ff00::add:2 185.12.64.1 185.12.64.2 + ''; }