Merge pull request #120048 from flokli/inotify-max-user-instances

nixos/xserver: set fs.inotify.max_user_instances too

authored by

Florian Klink and committed by
GitHub
d4e149c8 69652a07

+1
+1
nixos/modules/services/x11/xserver.nix
··· 666 666 # The default max inotify watches is 8192. 667 667 # Nowadays most apps require a good number of inotify watches, 668 668 # the value below is used by default on several other distros. 669 + boot.kernel.sysctl."fs.inotify.max_user_instances" = mkDefault 524288; 669 670 boot.kernel.sysctl."fs.inotify.max_user_watches" = mkDefault 524288; 670 671 671 672 systemd.defaultUnit = mkIf cfg.autorun "graphical.target";