nix/nixos/hosts/nixos-rpi4-img/default.nix
2023-09-19 10:49:25 +09:00

8 lines
No EOL
348 B
Nix

{ config, lib, pkgs, modulesPath, platform, ... }: {
# Build this image with:
# nix build .#nixosConfigurations.nixos-rpi4-img.config.system.build.sdImage
nixpkgs.hostPlatform.system = "aarch64-linux";
nixpkgs.buildPlatform.system = "x86_64-linux";
networking.hostName = "nixos-rpi4-img";
networking.firewall.allowedTCPPorts = [ 22 ];
}