VR/zh: Difference between revisions
Created page with "{{Warning|这将移除内核中特意设置的限制,并可能导致调度问题。虽然目前尚未收到导致问题的报告,但这应被视为不受支持的配置。}}" |
Created page with "为了解决 <code>CAP_SYS_NICE</code> 要求,我们可以使用以下 NixOS 配置片段应用内核补丁:" |
||
| Line 174: | Line 174: | ||
==== 作为 NixOS 内核补丁进行应用 ==== | ==== 作为 NixOS 内核补丁进行应用 ==== | ||
为了解决 <code>CAP_SYS_NICE</code> 要求,我们可以使用以下 NixOS 配置片段应用内核补丁: | |||
{{file|/etc/nixos/configuration.nix|nix|3=boot.kernelPatches = [ | {{file|/etc/nixos/configuration.nix|nix|3=boot.kernelPatches = [ | ||