summaryrefslogtreecommitdiff
path: root/hosts/common/systemd.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-25 23:55:57 -0500
committerseth <[email protected]>2023-01-26 03:50:11 -0500
commitbfa889aef9f82eb853a5b37ebe7fdbd8d5ecdc34 (patch)
treec684c7a090b1f42f2623639f1967d6494ac05bef /hosts/common/systemd.nix
parent6b126efdb4cf0b88f085c3f325fc6fd362268f19 (diff)
finish up refactor + add glados host
thanks replaycoding uwu
Diffstat (limited to 'hosts/common/systemd.nix')
-rw-r--r--hosts/common/systemd.nix21
1 files changed, 9 insertions, 12 deletions
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
+ '';
+ };
};
}