summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/systemd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/common/systemd.nix b/hosts/common/systemd.nix
index e28ff95..9ee7baf 100644
--- a/hosts/common/systemd.nix
+++ b/hosts/common/systemd.nix
@@ -1,10 +1,10 @@
-_: {
+{wsl, ...}: {
services = {
journald.extraConfig = ''
MaxRetentionSec=1w
'';
resolved = {
- enable = true;
+ enable = !wsl;
dnssec = "allow-downgrade";
extraConfig = ''
[Resolve]