{ config, lib, pkgs, modulesPath, platform, ... }: { nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; nixpkgs.buildPlatform.system = $platform; networking.hostName = "nixos-rpi4-img"; networking.firewall.allowedTCPPorts = [ 22 ]; }