From 7e8a921c4e1465c2cb9422ee881c16e8c4b0a000 Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 18 Sep 2023 11:18:14 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-rpi4-img/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/nixos-rpi4-img/default.nix b/nixos/hosts/nixos-rpi4-img/default.nix index f6589890..66c47798 100644 --- a/nixos/hosts/nixos-rpi4-img/default.nix +++ b/nixos/hosts/nixos-rpi4-img/default.nix @@ -1,8 +1,6 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: { +{ config, lib, pkgs, modulesPath, platform, ... }: { nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; + nixpkgs.buildPlatform.system = $platform; networking.hostName = "nixos-rpi4-img"; networking.firewall.allowedTCPPorts = [ 22 ]; } \ No newline at end of file