8 lines
No EOL
354 B
Nix
8 lines
No EOL
354 B
Nix
{ config, lib, pkgs, modulesPath, platform, ... }: {
|
|
# Build this image with:
|
|
# nix build .#nixosConfigurations.nixos-rpi4-img.config.system.build.sdImage
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
nixpkgs.buildPlatform.system = "${platform}";
|
|
networking.hostName = "nixos-rpi4-img";
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
|
} |