From 589f86010ff3cb5aa3725e174d1e5e93b4e52763 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 1 Dec 2023 13:18:05 +0000 Subject: [PATCH] fix that servo had too low of a inotify watch limit for wan.txt path unit to work --- hosts/common/hardware/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/common/hardware/default.nix b/hosts/common/hardware/default.nix index a2aee9a5..1db73d3c 100644 --- a/hosts/common/hardware/default.nix +++ b/hosts/common/hardware/default.nix @@ -40,6 +40,12 @@ # non-free firmware hardware.enableRedistributableFirmware = true; + # default is 252274, which is too low particularly for servo. + # manifests as spurious "No space left on device" when trying to install watches, + # e.g. in dyn-dns by `systemctl start dyn-dns-watcher.path`. + # see: + boot.kernel.sysctl."fs.inotify.max_user_watches" = 1048576; + # powertop will default to putting USB devices -- including HID -- to sleep after TWO SECONDS powerManagement.powertop.enable = false; # linux CPU governor: