From fa7a407bda1b26b413702287f227629af0798f55 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 8 Mar 2023 02:57:57 -0500 Subject: another major refactor --- profiles/nixos/systemd.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 profiles/nixos/systemd.nix (limited to 'profiles/nixos/systemd.nix') diff --git a/profiles/nixos/systemd.nix b/profiles/nixos/systemd.nix new file mode 100644 index 0000000..0e40e39 --- /dev/null +++ b/profiles/nixos/systemd.nix @@ -0,0 +1,16 @@ +{lib, ...}: { + services = { + journald.extraConfig = '' + MaxRetentionSec=1w + ''; + resolved = { + enable = lib.mkDefault true; + dnssec = "allow-downgrade"; + extraConfig = '' + [Resolve] + DNS=1.1.1.1 1.0.0.1 + DNSOverTLS=yes + ''; + }; + }; +} -- cgit v1.2.3