VR/zh: Difference between revisions

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


<div lang="en" dir="ltr" class="mw-content-ltr">
为了解决 <code>CAP_SYS_NICE</code> 要求,我们可以使用以下 NixOS 配置片段应用内核补丁:
To workaround the <code>CAP_SYS_NICE</code> requirement, we can apply a kernel patch using the following NixOS configuration snippet:
</div>


{{file|/etc/nixos/configuration.nix|nix|3=boot.kernelPatches = [
{{file|/etc/nixos/configuration.nix|nix|3=boot.kernelPatches = [