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

@ -20,7 +20,6 @@
mosh mosh
multipath-tools #-> kpartx multipath-tools #-> kpartx
mtr mtr
nix-index
nmap nmap
nmon nmon
pciutils pciutils

View file

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