summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/common/configuration.nix13
-rw-r--r--os/pc/modules/network.nix6
2 files changed, 11 insertions, 8 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;
+ };
};
}
diff --git a/os/pc/modules/network.nix b/os/pc/modules/network.nix
index 029822f..eeb5b0e 100644
--- a/os/pc/modules/network.nix
+++ b/os/pc/modules/network.nix
@@ -2,10 +2,6 @@
{
networking.wireless.iwd = {
enable = true;
-
- settings = {
- General.EnableNetworkConfiguration = true;
- Network.NameResolvingService = "resolvconf";
- };
+ settings.General.EnableNetworkConfiguration = true;
};
}