From daefee832feb946b1771ae4ef0776aab9601e092 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Thu, 15 Jun 2023 22:58:09 +0200 Subject: [PATCH] using resolvedctl instead of hardcoded dns --- machines/lisa/default.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/machines/lisa/default.nix b/machines/lisa/default.nix index dc95d45..8af7341 100644 --- a/machines/lisa/default.nix +++ b/machines/lisa/default.nix @@ -60,14 +60,6 @@ prefixLength = 120; }]; - networking.nameservers = [ "100.100.45.5" "9.9.9.9" ]; - environment.etc."resolv.conf" = with lib; with pkgs; { - source = writeText "resolv.conf" '' - ${concatStringsSep "\n" (map (ns: "nameserver ${ns}") config.networking.nameservers)} - options edns0 - ''; - }; - networking.hostId = "fbb334ae"; services.zfs.autoSnapshot.enable = true; services.zfs.autoScrub.enable = true;