From f061523314234b5287385d6eebc50b5d3dd82bb2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Jan 2023 15:38:08 +0100 Subject: ... --- hosts/surtr/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index f6200cf3..75dd9847 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix @@ -1,4 +1,7 @@ { flake, pkgs, lib, ... }: + +with lib; + { imports = with flake.nixosModules.systemProfiles; [ tmpfs-root qemu-guest openssh rebuild-machines zfs @@ -68,7 +71,7 @@ systemd.network = { networks = { "40-ens3".networkConfig = { - Domains = lib.mkForce "~."; + Domains = mkForce "~."; DNS = [ "127.0.0.1:5353" "[::1]:5353" ]; # DNSSEC = true; # DNS = [ "46.38.225.230" "46.38.252.230" "2a03:4000:0:1::e1e6" "2a03:4000:8000::fce6" ]; @@ -126,6 +129,9 @@ cmdport 0 ''; }; + systemd.services.chronyd.serviceConfig = { + PrivateDevices = mkForce false; + }; services.openssh = { enable = true; -- cgit v1.2.3