aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2025-01-19 13:00:31 +0100
committerKarel Kočí <cynerd@email.cz>2025-01-19 13:00:31 +0100
commit39dea4d3636b3162c7ff72977c25e7c713faade1 (patch)
treeca904d3d89620a9bd1a2ce93b454e7da93591b37 /pkgs
parentc74091f90e8d936319baa168d336e4ab04e5c687 (diff)
downloadnixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.tar.gz
nixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.tar.bz2
nixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.zip
Attempt to get Rpi to work
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index a984d9b..9ea9a99 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -37,6 +37,15 @@ final: prev: {
zigbee2mqtt = prev.zigbee2mqtt.overrideAttrs {
npmInstallFlags = ["--no-optional"]; # Fix cross build
};
+ ubootRaspberryPi3_btrfs = prev.buildUBoot {
+ defconfig = "rpi_3_defconfig";
+ extraConfig = ''
+ CONFIG_FS_BTRFS=y
+ CONFIG_CMD_BTRFS=y
+ '';
+ extraMeta.platforms = ["aarch64-linux"];
+ filesToInstall = ["u-boot.bin"];
+ };
# Older version of packages
flac134 = prev.flac.overrideAttrs {