summaryrefslogtreecommitdiffstats
path: root/systems/zu/config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/zu/config.nix')
-rw-r--r--systems/zu/config.nix5
1 files changed, 5 insertions, 0 deletions
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";