1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 00:21:47 +03:00

fix: do host-spaced home checks only on that hosts's architecture

This commit is contained in:
David Arnold 2021-07-14 21:14:29 -05:00 committed by Parthiv Seetharaman
parent b4a7330864
commit a060db0a55

View File

@ -148,8 +148,9 @@ lib.systemFlake (lib.mergeAny
(self.homeConfigurations != { }) (self.homeConfigurations != { })
) then ) then
let let
seive = _: v: v.system == system; # only test for the appropriate system
collectActivationPackages = n: v: {name = "user-" + n; value = v.activationPackage; }; collectActivationPackages = n: v: {name = "user-" + n; value = v.activationPackage; };
in lib.mapAttrs' collectActivationPackages self.homeConfigurations in lib.filterAttrs seive (lib.mapAttrs' collectActivationPackages self.homeConfigurations)
else { } else { }
) )
// //