# Raspberry Pi SD Image # $ nix-build '' -A config.system.build.sdImage -I nixos-config=./sd-image.nix # https://nixos.wiki/wiki/NixOS_on_ARM#Installation { ... }: { nixpkgs.crossSystem.system = "armv7l-linux"; # Simple bootstrap SD image for the Raspberry Pi imports = [ ./nixos/users/albert ]; # Temporarily allow ssh access for imaging networking.firewall.allowedTCPPorts = [ 22 ]; }