Steam/zh: Difference between revisions
Created page with "要安装 Steam 软件包并启用所有必要的系统选项以使其运行,请将以下内容添加到您的 <code>/etc/nixos/configuration.nix</code> 中:" |
Created page with "如果您使用的是 Steam 控制器或 Valve Index,请确保已启用 Steam 硬件支持。这通常由 <code>programs.steam.enable = true;</code> ` 隐式地设置,该设置会同时启用 <code>hardware.steam-hardware.enable = true;</code> 。如有需要,您可以验证或显式地进行设置:" Tags: Mobile edit Mobile web edit |
||
| Line 50: | Line 50: | ||
== 配置 == | == 配置 == | ||
基本 Steam 功能可以直接在 <code>programs.steam</code> 属性集中启用: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
programs.steam = { | programs.steam = { | ||
| Line 63: | Line 61: | ||
# programs.gamemode.enable = true; | # programs.gamemode.enable = true; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
如果您使用的是 Steam 控制器或 Valve Index,请确保已启用 Steam 硬件支持。这通常由 <code>programs.steam.enable = true;</code> ` 隐式地设置,该设置会同时启用 <code>hardware.steam-hardware.enable = true;</code> 。如有需要,您可以验证或显式地进行设置: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
hardware.steam-hardware.enable = true; | hardware.steam-hardware.enable = true; | ||