From 4ee18a655597ec271b8e8c8cd95e85a20cd86b7d Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Wed, 13 Nov 2024 11:05:23 -0500 Subject: [PATCH] remote upgrade for aarch64 --- nixos-modules/common/nix.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos-modules/common/nix.nix b/nixos-modules/common/nix.nix index d99efe5..9a78d6d 100644 --- a/nixos-modules/common/nix.nix +++ b/nixos-modules/common/nix.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, config, ... }: { programs.git.enable = true; programs.nh = { @@ -22,6 +22,7 @@ enable = true; flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git"; allowReboot = true; + flags = lib.lists.optionals config.nixpkgs.hostPlatform.isAarch64 [ "--build-host" "zeus" ]; rebootWindow = { lower = "02:00"; upper = "06:00";