mirror of
https://github.com/divnix/digga.git
synced 2024-12-23 16:11:51 +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 != { })
|
||||
) then
|
||||
let
|
||||
seive = _: v: v.system == system; # only test for the appropriate system
|
||||
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 { }
|
||||
)
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user