mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
core/nix: fix daemon priority
This commit is contained in:
parent
14f85e6ec5
commit
9870ba8252
2 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,6 @@
|
||||||
mosh
|
mosh
|
||||||
multipath-tools #-> kpartx
|
multipath-tools #-> kpartx
|
||||||
mtr
|
mtr
|
||||||
nix-index
|
|
||||||
nmap
|
nmap
|
||||||
nmon
|
nmon
|
||||||
pciutils
|
pciutils
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue