From 7866a92e16c30a694d563026e15cb44346312405 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 16 Oct 2022 19:36:15 +0200 Subject: remove systemd-resolved --- nix/configuration.nix | 2 -- nix/deuxfleurs.nix | 10 ++-------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'nix') diff --git a/nix/configuration.nix b/nix/configuration.nix index 2bb56f2..aa979db 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -66,8 +66,6 @@ SystemMaxUse=1G rclone docker-compose wireguard-tools - #qemu - #qemu_kvm ]; programs.vim.defaultEditor = true; diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index 66c153c..e5925fd 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -200,13 +200,14 @@ in } ]; }; - resolveLocalQueries = false; # don't overwrite our resolv.conf + resolveLocalQueries = true; }; # Reach Unbound through the IP of our LAN interface, # instead of 127.0.0.1 (this will also work in Docker containers) networking.nameservers = [ cfg.lan_ip ]; + services.resolved.enable = false; # Configure Wireguard VPN between all nodes networking.wireguard.interfaces.wg0 = { @@ -272,8 +273,6 @@ in services.nomad.extraPackages = [ pkgs.glibc pkgs.zstd - #pkgs.qemu - #pkgs.qemu_kvm ]; services.nomad.settings = (if cfg.is_raft_server @@ -331,11 +330,6 @@ in ]; } ]; - #qemu = [ - # { - # enabled = true; - # } - #]; } ]; }; -- cgit v1.2.3