fix(desktop): add kernel parameters for async-profiler
This commit is contained in:
parent
65472975c8
commit
0bb7ad9e38
1 changed files with 6 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue