summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-27 01:22:51 -0500
committerseth <[email protected]>2023-01-27 01:22:51 -0500
commita822b5802d9274de61693547475dfc912908466a (patch)
tree12db6127e8008cfacd83555b367c929580edb7a3 /hosts
parente48bd2fb65bb7c3e05badf55e3b2886a8b80a59e (diff)
always enable systemd-resolved
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/systemd.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/hosts/common/systemd.nix b/hosts/common/systemd.nix
index ba2464f..e28ff95 100644
--- a/hosts/common/systemd.nix
+++ b/hosts/common/systemd.nix
@@ -1,12 +1,10 @@
-{config, ...}: let
- value = !config.sys.wsl.enable;
-in {
+_: {
services = {
journald.extraConfig = ''
MaxRetentionSec=1w
'';
resolved = {
- enable = value;
+ enable = true;
dnssec = "allow-downgrade";
extraConfig = ''
[Resolve]