summaryrefslogtreecommitdiff
path: root/os/common
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2026-03-25 16:54:03 +0530
committersinanmohd <sinan@sinanmohd.com>2026-03-25 16:54:03 +0530
commitf3db446c02e1e54415f0b8f2dd662f384dadea1e (patch)
tree8595526e32095979c3a352278d66f0e02698ada3 /os/common
parent17806439742f8d9cdb468e73f21f82310ba2377b (diff)
feat(common/dns): use resolvd, https://tailscale.com/blog/sisyphean-dns-client-linuxHEADmaster
Diffstat (limited to 'os/common')
-rw-r--r--os/common/configuration.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/os/common/configuration.nix b/os/common/configuration.nix
index 865c926..f4f3093 100644
--- a/os/common/configuration.nix
+++ b/os/common/configuration.nix
@@ -73,8 +73,15 @@ in
];
programs.mosh.enable = true;
- services.openssh = {
- enable = true;
- settings.PasswordAuthentication = false;
+ services = {
+ resolved = {
+ enable = true;
+ dnssec = "allow-downgrade";
+ dnsovertls = "opportunistic";
+ };
+ openssh = {
+ enable = true;
+ settings.PasswordAuthentication = false;
+ };
};
}