This commit is contained in:
iFargle 2023-09-19 10:49:04 +09:00
parent 6e6bfd5d0e
commit 3eccca3633

View file

@ -1,7 +1,7 @@
{ 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.hostPlatform.system = lib.mkDefault "aarch64-linux";
nixpkgs.buildPlatform.system = "x86_64-linux";
networking.hostName = "nixos-rpi4-img";
networking.firewall.allowedTCPPorts = [ 22 ];