mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 23:43:30 +01:00
raspberry-pi/3: import common profile
The Pi 3 profile didn't import ../common/default.nix, so it skipped the shared boot.initrd.availableKernelModules (usb-storage, usbhid, vc4). Every other board profile imports common/. Bring Pi 3 in line.
This commit is contained in:
1 parent
df7783100b
commit
7bd5ab3ee5
1 file changed
+4
@@ -1,6 +1,10 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
../common/default.nix
|
||||||
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = lib.mkDefault (
|
kernelPackages = lib.mkDefault (
|
||||||
pkgs.linuxPackagesFor (pkgs.callPackage ../common/kernel.nix { rpiVersion = 3; })
|
pkgs.linuxPackagesFor (pkgs.callPackage ../common/kernel.nix { rpiVersion = 3; })
|
||||||
|
|||||||
Reference in new issue
Block a user