sd_image_raspberrypi4: Remove, as planned initially

The replacement is the generic AArch64 image.

From there, you can customize an image that works better for your
needs, if need be.

-14
nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix
···
-
{ config, ... }:
-
{
-
imports = [
-
../sd-card/sd-image-raspberrypi4-installer.nix
-
];
-
config = {
-
warnings = [
-
''
-
.../cd-dvd/sd-image-raspberrypi4.nix is deprecated and will eventually be removed.
-
Please switch to .../sd-card/sd-image-raspberrypi4-installer.nix, instead.
-
''
-
];
-
};
-
}
···
-10
nixos/modules/installer/sd-card/sd-image-raspberrypi4-installer.nix
···
-
{
-
imports = [
-
../../profiles/installation-device.nix
-
./sd-image-raspberrypi4.nix
-
];
-
-
# the installation media is also the installation target,
-
# so we don't want to provide the installation configuration.nix.
-
installer.cloneConfig = false;
-
}
···
-8
nixos/modules/installer/sd-card/sd-image-raspberrypi4.nix
···
-
# To build, use:
-
# nix-build nixos -I nixos-config=nixos/modules/installer/sd-card/sd-image-raspberrypi4.nix -A config.system.build.sdImage
-
{ config, lib, pkgs, ... }:
-
-
{
-
imports = [ ./sd-image-aarch64.nix ];
-
boot.kernelPackages = pkgs.linuxPackages_rpi4;
-
}
···
-5
nixos/release.nix
···
inherit system;
});
-
sd_image_raspberrypi4 = forMatchingSystems [ "aarch64-linux" ] (system: makeSdImage {
-
module = ./modules/installer/sd-card/sd-image-raspberrypi4-installer.nix;
-
inherit system;
-
});
-
# A bootable VirtualBox virtual appliance as an OVA file (i.e. packaged OVF).
ova = forMatchingSystems [ "x86_64-linux" ] (system:
···
inherit system;
});
# A bootable VirtualBox virtual appliance as an OVA file (i.e. packaged OVF).
ova = forMatchingSystems [ "x86_64-linux" ] (system: