diff options
| author | seth <[email protected]> | 2023-01-26 06:08:41 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-01-26 06:08:41 -0500 |
| commit | 08895833e51bdfd760f2b4915a3997c13fe65b13 (patch) | |
| tree | 76e0ec29dea51c9a0aa0502cf8e87eadc71dd3ec /hosts/common/systemd.nix | |
| parent | 43bf016d0fb5b3b2db796fdc37abf243f1223df1 (diff) | |
more refactoring
Diffstat (limited to 'hosts/common/systemd.nix')
| -rw-r--r-- | hosts/common/systemd.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/common/systemd.nix b/hosts/common/systemd.nix index 1c71cfc..9d44da4 100644 --- a/hosts/common/systemd.nix +++ b/hosts/common/systemd.nix @@ -1,10 +1,12 @@ -{config, ...}: { +{config, ...}: let + value = config.sys.wsl.enable; +in { services = { journald.extraConfig = '' MaxRetentionSec=1w ''; resolved = { - enable = true; + enable = value; dnssec = "allow-downgrade"; extraConfig = '' [Resolve] |
