add hardware config
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23691 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23689 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23690 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.pc-installer Hydra build #23694 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra checks.x86_64-linux.containers-default Hydra build #23688 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522 Hydra build #23692 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #23693 of nixos-config:pr618:nixosConfigurations.not522-installer
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23691 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23689 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23690 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.pc-installer Hydra build #23694 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra checks.x86_64-linux.containers-default Hydra build #23688 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522 Hydra build #23692 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #23693 of nixos-config:pr618:nixosConfigurations.not522-installer
This commit is contained in:
parent
80bfb16be6
commit
d5782ad7f3
3 changed files with 7 additions and 0 deletions
|
@ -9,4 +9,5 @@
|
|||
./i18n.nix
|
||||
];
|
||||
boot.initrd.systemd.enable = true;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"${nixos-config}/config"
|
||||
./disko.nix
|
||||
./grub.nix
|
||||
./hardware.nix
|
||||
];
|
||||
system.stateVersion = config.system.nixos.version;
|
||||
specialisation.graphical = {
|
||||
|
|
5
machine/pc-installer/hardware.nix
Normal file
5
machine/pc-installer/hardware.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
boot.initrd.availableKernelModules = ["nvme" "ahci" "xhci_pci" "usbhid" "uas" "sd_mod"];
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
}
|
Loading…
Reference in a new issue