Files
whc-nixos/modules/gaming.nix
T
whc ad9bf8035e 整理 NixOS 配置:面向 i7-12700F + RTX 4060 的模块化桌面配置
从当前 /etc/nixos 拆出 common/plasma/中文/应用/打印模块,新增 NVIDIA 独显支持,并去掉原机硬件 UUID。
2026-09-19 15:50:30 +08:00

13 lines
259 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
# Steam / 游戏需要的 32 位图形库(nvidia.nix 已开 graphics.enable32Bit)
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
}