summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-05-30 10:00:11 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-05-30 10:00:11 +0200
commit1f9db37bc5e52a8ed4c008916fc5c248b6985182 (patch)
treebb3e8d7dc17d6bb602b567ac4c9fbf98bebb4330 /hosts
parentc6851737ae5b433b855cabc4653dea2518f6caf5 (diff)
downloadnixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar
nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar.gz
nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar.bz2
nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar.xz
nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.zip
surtr: manual dns config
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/default.nix7
1 files changed, 6 insertions, 1 deletions
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 @@
1{ flake, pkgs, ... }: 1{ flake, pkgs, lib, ... }:
2{ 2{
3 imports = with flake.nixosModules.systemProfiles; [ 3 imports = with flake.nixosModules.systemProfiles; [
4 qemu-guest openssh rebuild-machines ./zfs.nix ./dns 4 qemu-guest openssh rebuild-machines ./zfs.nix ./dns
@@ -74,6 +74,11 @@
74 }; 74 };
75 }; 75 };
76 76
77 systemd.network.networks."40-ens3".networkConfig = {
78 Domains = lib.mkForce "~.";
79 DNS = [ "46.38.225.230" "46.38.252.230" "2a03:4000:0:1::e1e6" "2a03:4000:8000::fce6" ];
80 };
81
77 services.openssh = { 82 services.openssh = {
78 enable = true; 83 enable = true;
79 passwordAuthentication = false; 84 passwordAuthentication = false;