core/nix: fix daemon priority

This commit is contained in:
Felix Buehler 2023-01-12 23:18:58 +01:00
parent 14f85e6ec5
commit 9870ba8252
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,9 @@
{ config, lib, pkgs, inputs, ... }:
{
nix = {
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
settings = {
trusted-users = [
"root"
@ -32,10 +35,10 @@
];
environment.systemPackages = with pkgs; [
nix-index
nix-prefetch
nix-update
nixpkgs-fmt
nixpkgs-lint
nixpkgs-review
];
}