Increase inotify limits

This commit is contained in:
coolneng 2020-08-20 15:03:45 +02:00
parent 8a2da74b21
commit 408f724669
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@
# Rotate logs after 7 days # Rotate logs after 7 days
services.journald.extraConfig = "SystemMaxFiles=7"; services.journald.extraConfig = "SystemMaxFiles=7";
# Increase inotify limits
boot.kernel.sysctl = { "fs.inotify.max_user_watches" = 204800; };
# Import other configuration modules # Import other configuration modules
imports = [ imports = [
./modules/printing.nix ./modules/printing.nix