fix(install): pin the common nixos-hardware profile stacks into the ISO
Round 7 in-VM: autodetection emitted common-cpu-intel, whose nixos-hardware module pulls the whole Intel graphics stack (intel-media-driver, compute-runtime, libva, level-zero…) — none of it on the ISO, so the offline install built graphics drivers from source. The representative pin now imports the common-* profiles (intel+amd cpu/gpu, laptop, ssd, pc), covering what the detector emits on ordinary machines. Model-specific profiles may still need network. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
12
flake.nix
12
flake.nix
@@ -226,6 +226,18 @@
|
||||
modules = [
|
||||
self.nixosModules.nomarchy
|
||||
{ environment.systemPackages = [ home-manager.packages.${system}.home-manager ]; }
|
||||
# The installer's autodetection emits these on real
|
||||
# machines (and the intel CPU module pulls the whole
|
||||
# iGPU stack) — without them an offline install on
|
||||
# common hardware builds graphics drivers from
|
||||
# source. Model-specific profiles may still need
|
||||
# network; the common ground is covered.
|
||||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
nixos-hardware.nixosModules.common-cpu-amd
|
||||
nixos-hardware.nixosModules.common-gpu-amd
|
||||
nixos-hardware.nixosModules.common-pc-laptop
|
||||
nixos-hardware.nixosModules.common-pc-ssd
|
||||
nixos-hardware.nixosModules.common-pc
|
||||
(./templates/downstream + "/hardware-configuration.nix")
|
||||
(./templates/downstream + "/system.nix")
|
||||
({ lib, ... }: {
|
||||
|
||||
Reference in New Issue
Block a user