forked from mirrors/nixpkgs
f9d5de05d2
This includes setting up everything for the mainline Raspberry Pi 4 image. In fact, the only difference left in the Raspberry Pi 4-specific image is the kernel from the vendor.
9 lines
261 B
Nix
9 lines
261 B
Nix
# To build, use:
|
|
# nix-build nixos -I nixos-config=nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix -A config.system.build.sdImage
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./sd-image-aarch64.nix ];
|
|
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
|
}
|