This commit is contained in:
iFargle 2023-09-16 12:11:21 +09:00
parent adb0ac520d
commit 1234a2dfec

View file

@ -2,8 +2,6 @@
# $ nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix # $ nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix
# https://nixos.wiki/wiki/NixOS_on_ARM#Installation # https://nixos.wiki/wiki/NixOS_on_ARM#Installation
{ config, ... }: { { config, ... }: {
nixpkgs.crossSystem.system = "armv7l-linux";
# Simple bootstrap SD image for the Raspberry Pi # Simple bootstrap SD image for the Raspberry Pi
imports = [ imports = [
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix> <nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>