fix(nixos): defer zeus hardware detection
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user