diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-30 10:00:11 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-30 10:00:11 +0200 |
commit | 1f9db37bc5e52a8ed4c008916fc5c248b6985182 (patch) | |
tree | bb3e8d7dc17d6bb602b567ac4c9fbf98bebb4330 | |
parent | c6851737ae5b433b855cabc4653dea2518f6caf5 (diff) | |
download | nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar.gz nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar.bz2 nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.tar.xz nixos-1f9db37bc5e52a8ed4c008916fc5c248b6985182.zip |
surtr: manual dns config
-rw-r--r-- | hosts/surtr/default.nix | 7 |
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; |