mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 11:36:04 +01:00
add flake srcs
This commit is contained in:
parent
4d7687ec92
commit
5756b051fa
7 changed files with 220 additions and 193 deletions
31
flake.nix
31
flake.nix
|
|
@ -1,10 +1,35 @@
|
|||
{
|
||||
description = "raspberry-pi nixos configuration";
|
||||
|
||||
inputs = { };
|
||||
inputs = {
|
||||
u-boot-src = {
|
||||
flake = false;
|
||||
url = "https://ftp.denx.de/pub/u-boot/u-boot-2023.01.tar.bz2";
|
||||
};
|
||||
rpi-linux-5_15-src = {
|
||||
flake = false;
|
||||
url = "github:raspberrypi/linux/rpi-5.15.y";
|
||||
};
|
||||
rpi-firmware-stable-src = {
|
||||
flake = false;
|
||||
url = "github:raspberrypi/firmware/stable";
|
||||
};
|
||||
rpi-firmware-nonfree-src = {
|
||||
flake = false;
|
||||
url = "github:RPi-Distro/firmware-nonfree";
|
||||
};
|
||||
rpi-bluez-firmware-src = {
|
||||
flake = false;
|
||||
url = "github:RPi-Distro/bluez-firmware";
|
||||
};
|
||||
libcamera-apps-src = {
|
||||
flake = false;
|
||||
url = "github:raspberrypi/libcamera-apps/v1.1.1";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self }: {
|
||||
overlay = import ./overlay;
|
||||
outputs = srcs@{ self, ... }: {
|
||||
overlay = import ./overlay (builtins.removeAttrs srcs [ "self" ]);
|
||||
rpi = import ./rpi { overlay = self.overlay; };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue