From 3eccca363304f4992481e5552817cc3012e93198 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 19 Sep 2023 10:49:04 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-rpi4-img/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/hosts/nixos-rpi4-img/default.nix b/nixos/hosts/nixos-rpi4-img/default.nix index 6b1f1448..f8691b80 100644 --- a/nixos/hosts/nixos-rpi4-img/default.nix +++ b/nixos/hosts/nixos-rpi4-img/default.nix @@ -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 ];