From 1f9db37bc5e52a8ed4c008916fc5c248b6985182 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 30 May 2021 10:00:11 +0200 Subject: surtr: manual dns config --- hosts/surtr/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index 85723005..34304b44 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix @@ -1,4 +1,4 @@ -{ flake, pkgs, ... }: +{ flake, pkgs, lib, ... }: { imports = with flake.nixosModules.systemProfiles; [ qemu-guest openssh rebuild-machines ./zfs.nix ./dns @@ -74,6 +74,11 @@ }; }; + systemd.network.networks."40-ens3".networkConfig = { + Domains = lib.mkForce "~."; + DNS = [ "46.38.225.230" "46.38.252.230" "2a03:4000:0:1::e1e6" "2a03:4000:8000::fce6" ]; + }; + services.openssh = { enable = true; passwordAuthentication = false; -- cgit v1.2.3