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
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# 笔记本: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";
|
||||
}
|
||||
Reference in New Issue
Block a user