From 91e1858fcb67ca94dcb244a89a041643da891407 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 28 Nov 2026 03:18:47 +0000 Subject: zu: write dirty pages back less often --- systems/zu/config.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'systems') diff --git a/systems/zu/config.nix b/systems/zu/config.nix index 4fdffe85..6d164748 100644 --- a/systems/zu/config.nix +++ b/systems/zu/config.nix @@ -79,6 +79,11 @@ SUBSYSTEM=="hidraw", KERNEL=="hidraw*", DRIVERS=="logitech-hidpp-device", GROUP="plugdev", MODE="0660" ''; + # powertop: VM writeback timeout + system.activationScripts.vm-writeback-timeout = '' + echo 1500 > /proc/sys/vm/dirty_writeback_centisecs + ''; + # The NixOS release to be compatible with for stateful data such as databases. system.stateVersion = "15.09"; -- cgit v1.3.1