Added nixpkgs.crossSystem.system to build for Pi3B

This commit is contained in:
Serĉanto de Scio 2019-06-27 13:58:46 +10:00
parent d6df2284ca
commit dee3a3d44c
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -12,14 +12,14 @@
../Deployments/pi3B_rack.nix ../Deployments/pi3B_rack.nix
../Deployments/host_common.nix ../Deployments/host_common.nix
]; ];
nixpkgs.crossSystem.system = "aarch64-linux"; # Ensure the right package architecture is used
}; };
pi-tri = pi-tri =
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
#networking.hostName = "pi-tri"; # Define your hostname.
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you