fuji: perf optimizations
This commit is contained in:
@@ -58,6 +58,8 @@ in
|
||||
};
|
||||
|
||||
nix = {
|
||||
daemonCPUSchedPolicy = "idle";
|
||||
daemonIOSchedClass = "idle";
|
||||
optimise.automatic = true;
|
||||
gc.automatic = true;
|
||||
gc.options = "--delete-older-than 7d";
|
||||
@@ -84,6 +86,10 @@ in
|
||||
initrd.compressor = "zstd";
|
||||
initrd.kernelModules = [ ];
|
||||
initrd.systemd.enable = true;
|
||||
initrd.luks.devices."cryptroot" = {
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
binfmt.emulatedSystems = [
|
||||
"wasm32-wasi"
|
||||
"x86_64-windows"
|
||||
@@ -422,6 +428,9 @@ in
|
||||
openssh.enable = true;
|
||||
power-profiles-daemon.enable = false;
|
||||
printing.enable = true;
|
||||
scx.enable = true;
|
||||
scx.scheduler = "scx_lavd";
|
||||
thermald.enable = true;
|
||||
userborn.enable = true;
|
||||
upower.enable = lib.mkForce false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user