fix(desktop): add kernel parameters for async-profiler

This commit is contained in:
uku 2025-01-27 16:38:39 +01:00
parent 65472975c8
commit 0bb7ad9e38
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o

View file

@ -19,6 +19,12 @@
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
kernelModules = [ "v4l2loopback" ];
# intellij async-profiler
kernel.sysctl = {
"kernel.perf_event_paranoid" = 1;
"kernel.kptr_restrict" = 0;
};
supportedFilesystems = [ "ntfs" ];
loader = {