fix(nixos): defer zeus hardware detection

This commit is contained in:
2026-09-03 19:42:14 -04:00
parent 5f23518f81
commit c87c8319c0
3 changed files with 5 additions and 23 deletions

View File

@@ -1,14 +1,12 @@
{ pkgs, ... }:
{ lib, pkgs, ... }:
# zeus — Ryzen desktop with AMD graphics.
# Disk layout is in ./disk.nix.
# `fileSystems` are derived from it, none declared here.
{
imports = [
./hardware-configuration.nix
./disk.nix
];
imports = [ ./disk.nix ] ++ lib.optional (builtins.pathExists ./hardware-configuration.nix) ./hardware-configuration.nix;
system.stateVersion = "26.05";
nixpkgs.hostPlatform = "x86_64-linux";
# systemd-boot on the EFI system partition.
boot.loader.systemd-boot.enable = true;

View File

@@ -1,18 +0,0 @@
{ lib, modulesPath, ... }:
# Hardware inferred from the CachyOS inventory for this desktop.
# disko derives `fileSystems` and the LUKS device, none declared here.
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [
"ahci"
"nvme"
"sd_mod"
"xhci_pci"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}