move hardware-modules into systems files

This commit is contained in:
jopejoe1 2023-12-30 23:53:21 +01:00
parent aa515f3498
commit 6b06523162
5 changed files with 28 additions and 20 deletions

View file

@ -1,7 +1,10 @@
{ modulesPath, lib, ... }:
{ modulesPath, lib, nixos-hardware, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
nixos-hardware.nixosModules.raspberry-pi-4
];
boot = {
initrd = { availableKernelModules = [ "xhci_pci" ]; };