add flake srcs

This commit is contained in:
Travis Staton 2023-02-22 16:41:01 -05:00
parent 4d7687ec92
commit 5756b051fa
7 changed files with 220 additions and 193 deletions

View file

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