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

nixos/xserver: set fs.inotify.max_user_instances too
This commit is contained in:
Florian Klink 2021-05-03 17:45:41 +02:00 committed by GitHub
commit d4e149c8ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -666,6 +666,7 @@ in
# The default max inotify watches is 8192.
# Nowadays most apps require a good number of inotify watches,
# the value below is used by default on several other distros.
boot.kernel.sysctl."fs.inotify.max_user_instances" = mkDefault 524288;
boot.kernel.sysctl."fs.inotify.max_user_watches" = mkDefault 524288;
systemd.defaultUnit = mkIf cfg.autorun "graphical.target";