aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/network/networkd.nix6
-rw-r--r--profiles/server.nix6
2 files changed, 6 insertions, 6 deletions
diff --git a/profiles/network/networkd.nix b/profiles/network/networkd.nix
index 9081f59..2143386 100644
--- a/profiles/network/networkd.nix
+++ b/profiles/network/networkd.nix
@@ -13,4 +13,10 @@
DNSOverTLS=yes
'';
};
+
+ # Used by systemd-resolved, not directly by resolv.conf.
+ networking.nameservers = [
+ "8.8.8.8#dns.google"
+ "1.0.0.1#cloudflare-dns.com"
+ ];
}
diff --git a/profiles/server.nix b/profiles/server.nix
index 593dd44..37da0cc 100644
--- a/profiles/server.nix
+++ b/profiles/server.nix
@@ -6,12 +6,6 @@
./default.nix
];
- # Used by systemd-resolved, not directly by resolv.conf.
- networking.nameservers = [
- "8.8.8.8#dns.google"
- "1.0.0.1#cloudflare-dns.com"
- ];
-
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
];