# Pastebin u6KIeOdA import (fetchGit ./. + /nixos) { system = "aarch64-linux"; configuration = { lib, pkgs, ... }: let crossPkgs = import pkgs.path { system = "x86_64-linux"; crossSystem = lib.systems.examples.aarch64-multiplatform; }; in { imports = [ ./nixos/modules/installer/cd-dvd/sd-image-aarch64.nix ]; boot.kernelPackages = crossPkgs.linuxPackages_rpi4; nixpkgs.overlays = [ (self: super: { ubootRaspberryPi3_64bit = crossPkgs.ubootRaspberryPi3_64bit; ubootRaspberryPi4_64bit = crossPkgs.ubootRaspberryPi4_64bit; }) ]; }; }