From 2d042c19294619c8ac673db4e1007824cf0811f2 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 10 Dec 2023 13:13:40 +0300 Subject: 2023-12-10 --- modules/nixos/common/nix.nix | 4 ++-- modules/nixos/unbound.nix | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/nixos') diff --git a/modules/nixos/common/nix.nix b/modules/nixos/common/nix.nix index e21cc5c..2976cfc 100644 --- a/modules/nixos/common/nix.nix +++ b/modules/nixos/common/nix.nix @@ -2,7 +2,6 @@ config, inputs, lib, - this, ... }: with lib; let @@ -15,9 +14,10 @@ in { }; config = { - nix = mkIf this.isHeadless { + nix = { daemonCPUSchedPolicy = "idle"; daemonIOSchedClass = "idle"; + daemonIOSchedPriority = 7; }; nixpkgs.config.allowUnfreePredicate = p: elem (getName p) cfg.allowedUnfreePackages; diff --git a/modules/nixos/unbound.nix b/modules/nixos/unbound.nix index c7338e5..18e6867 100644 --- a/modules/nixos/unbound.nix +++ b/modules/nixos/unbound.nix @@ -133,9 +133,9 @@ in { extended-statistics = true; - log-replies = true; - log-tag-queryreply = true; - log-local-actions = true; + log-replies = false; + log-tag-queryreply = false; + log-local-actions = false; verbosity = 0; -- cgit 1.4.1