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

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-05 10:18:46 +01:00
parent 80bfb16be6
commit d5782ad7f3
3 changed files with 7 additions and 0 deletions

View file

@ -9,4 +9,5 @@
./i18n.nix ./i18n.nix
]; ];
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = true;
hardware.enableRedistributableFirmware = true;
} }

View file

@ -8,6 +8,7 @@
"${nixos-config}/config" "${nixos-config}/config"
./disko.nix ./disko.nix
./grub.nix ./grub.nix
./hardware.nix
]; ];
system.stateVersion = config.system.nixos.version; system.stateVersion = config.system.nixos.version;
specialisation.graphical = { specialisation.graphical = {

View 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;
}