fuji: perf optimizations

This commit is contained in:
2026-06-20 14:58:37 +02:00
parent 3168d35e07
commit b596a6f6a5
+9
View File
@@ -58,6 +58,8 @@ in
}; };
nix = { nix = {
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
optimise.automatic = true; optimise.automatic = true;
gc.automatic = true; gc.automatic = true;
gc.options = "--delete-older-than 7d"; gc.options = "--delete-older-than 7d";
@@ -84,6 +86,10 @@ in
initrd.compressor = "zstd"; initrd.compressor = "zstd";
initrd.kernelModules = [ ]; initrd.kernelModules = [ ];
initrd.systemd.enable = true; initrd.systemd.enable = true;
initrd.luks.devices."cryptroot" = {
allowDiscards = true;
bypassWorkqueues = true;
};
binfmt.emulatedSystems = [ binfmt.emulatedSystems = [
"wasm32-wasi" "wasm32-wasi"
"x86_64-windows" "x86_64-windows"
@@ -422,6 +428,9 @@ in
openssh.enable = true; openssh.enable = true;
power-profiles-daemon.enable = false; power-profiles-daemon.enable = false;
printing.enable = true; printing.enable = true;
scx.enable = true;
scx.scheduler = "scx_lavd";
thermald.enable = true;
userborn.enable = true; userborn.enable = true;
upower.enable = lib.mkForce false; upower.enable = lib.mkForce false;