feat(kernel): adjust inotify limits for JetBrains IDEs

- Removed inotify sysctl settings from hardware configuration.
- Added updated inotify limits under GUI services for JetBrains IDEs.
This ensures better compatibility and performance for these tools.

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2025-05-27 13:55:37 +02:00
parent 30c4e4482d
commit d700d4b8e3
2 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,4 @@
{ options
, config
{ config
, lib
, pkgs
, ...
@ -198,6 +197,12 @@ in
};
};
# jetbrains IDE
boot.kernel.sysctl = {
"fs.inotify.max_user_instances" = 16384;
"fs.inotify.max_user_watches" = 1048576;
};
# remote desktop
networking.firewall.allowedTCPPorts = [ 3389 ];
};

View file

@ -32,11 +32,6 @@
"video=efifb:nobgrt"
];
kernel.sysctl = {
"fs.inotify.max_user_instances" = 8192;
"fs.inotify.max_user_watches" = 524288;
};
extraModulePackages = [ ];
initrd.luks.devices."luks-0e2792db-1b80-49a7-b2eb-54e4b5fc3502" = {