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";