diff options
author | Karel Kočí <cynerd@email.cz> | 2025-01-19 13:00:31 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2025-01-19 13:00:31 +0100 |
commit | 39dea4d3636b3162c7ff72977c25e7c713faade1 (patch) | |
tree | ca904d3d89620a9bd1a2ce93b454e7da93591b37 /pkgs | |
parent | c74091f90e8d936319baa168d336e4ab04e5c687 (diff) | |
download | nixos-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.nix | 9 |
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 { |