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:
parent
b4a7330864
commit
a060db0a55
@ -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 { }
|
||||||
)
|
)
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user