Files
whc-nixos/hosts/laptop/default.nix
T
WHC cf6e2a1a48 feat: 新增 laptop 主机配置(Ultra 9 285H / Arc)
- hosts/laptop/hardware.nix: 本机真实硬件配置(btrfs 子卷 / NPU / 微码)
- hosts/laptop/default.nix: 复用 common/desktop-plasma/chinese/gaming/printing/apps,跳过 nvidia 与 fpga;加 Intel Arc VA-API
- flake.nix: 抽出 mkSystem,新增 nixosConfigurations.laptop / nixos
2026-09-21 23:45:25 +08:00

27 lines
795 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.
# 笔记本:Intel Core Ultra 9 285H + Intel Arc(Arrow Lake-P),无 NVIDIA
{ pkgs, ... }:
{
imports = [
./hardware.nix
../../modules/common.nix
../../modules/desktop-plasma.nix
../../modules/chinese.nix
../../modules/gaming.nix
../../modules/printing.nix
../../modules/apps.nix
# 本机无 NVIDIA:刻意不导入 ../../modules/nvidia.nix
# FPGA 工具链依赖 Qt5,在 unstable 上求值风险高,暂不导入 ../../modules/fpga.nix
];
networking.hostName = "nixos";
# 笔记本不照抄 desktop 的 "performance",交给内核默认调度
# powerManagement.cpuFreqGovernor = "powersave";
# Intel Arc 硬解(VA-API),可选
hardware.graphics.extraPackages = [ pkgs.intel-media-driver ];
system.stateVersion = "26.05";
}