From bfa889aef9f82eb853a5b37ebe7fdbd8d5ecdc34 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 25 Jan 2023 23:55:57 -0500 Subject: finish up refactor + add glados host thanks replaycoding uwu --- hosts/common/systemd.nix | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'hosts/common/systemd.nix') diff --git a/hosts/common/systemd.nix b/hosts/common/systemd.nix index 42b4042..1c71cfc 100644 --- a/hosts/common/systemd.nix +++ b/hosts/common/systemd.nix @@ -3,17 +3,14 @@ journald.extraConfig = '' MaxRetentionSec=1w ''; - resolved = - if config.system.gui-stuff - then { - enable = true; - dnssec = "allow-downgrade"; - extraConfig = '' - [Resolve] - DNS=1.1.1.1 1.0.0.1 - DNSOverTLS=yes - ''; - } - else {}; + resolved = { + enable = true; + dnssec = "allow-downgrade"; + extraConfig = '' + [Resolve] + DNS=1.1.1.1 1.0.0.1 + DNSOverTLS=yes + ''; + }; }; } -- cgit v1.2.3