From ac31486f6b31adc47ddec4a810ee8d0e40ff2f10 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Mon, 21 Feb 2022 21:52:23 +0000 Subject: [PATCH] Filter home configuration checks based on check platform --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 7126840..f2205ec 100644 --- a/flake.nix +++ b/flake.nix @@ -140,7 +140,8 @@ # Stuff for each platform { checks = flattenTree { - homeConfigurations = recurseIntoAttrs (mapAttrs (_: h: h.activationPackage) self.homeConfigurations); + homeConfigurations = recurseIntoAttrs (mapAttrs (_: h: h.activationPackage) + (lib.filterAttrs (_: h: h.config.nixpkgs.system == system) self.homeConfigurations)); deploy = recurseIntoAttrs (pkgs.deploy-rs.lib.deployChecks self.deploy); };