summaryrefslogtreecommitdiff
path: root/hosts/common
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-18 06:24:43 -0500
committerseth <[email protected]>2023-02-18 06:24:43 -0500
commitbab079a3af3b63cc6b69c52c8eda3c3c4901a979 (patch)
tree24e646f5fae11e4593071f328d7675965042064d /hosts/common
parent1d7b04a71c7222153ffa9cd48f73b51ea72204d1 (diff)
fix some issues and update flake.lock
Diffstat (limited to 'hosts/common')
-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]