mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 03:56:09 +01:00
Merge 3a0fabdeeb into d48e8f0e16
This commit is contained in:
commit
219d94111f
3 changed files with 23 additions and 4 deletions
|
|
@ -5,10 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
linux_rpi5 = pkgs.linux_rpi4.override {
|
inherit (import ./packages.nix {inherit lib pkgs;}) linux_rpi5;
|
||||||
rpiVersion = 5;
|
|
||||||
argsOverride.defconfig = "bcm2712_defconfig";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
|
|
|
||||||
7
raspberry-pi/5/packages.nix
Normal file
7
raspberry-pi/5/packages.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ lib, pkgs, }:
|
||||||
|
{
|
||||||
|
linux_rpi5 = pkgs.linux_rpi4.override {
|
||||||
|
rpiVersion = 5;
|
||||||
|
argsOverride.defconfig = "bcm2712_defconfig";
|
||||||
|
};
|
||||||
|
}
|
||||||
15
release.nix
Normal file
15
release.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
let
|
||||||
|
lib = import <nixpkgs/lib>;
|
||||||
|
pkgsFor.aarch64-linux = import <nixpkgs> {
|
||||||
|
system = "aarch64-linux";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
linux_rpi5.aarch64-linux =
|
||||||
|
(
|
||||||
|
import ./raspberry-pi/5/packages.nix {
|
||||||
|
inherit lib;
|
||||||
|
pkgs = pkgsFor.aarch64-linux;
|
||||||
|
}
|
||||||
|
).linux_rpi5;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue