mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
reduce scope of forAllSystems
This commit is contained in:
parent
0992586ab7
commit
5376b047bd
1 changed files with 3 additions and 3 deletions
|
@ -30,9 +30,9 @@
|
||||||
lib = {
|
lib = {
|
||||||
getHosts = import lib/hosts.nix;
|
getHosts = import lib/hosts.nix;
|
||||||
morphHosts = import lib/morph.nix;
|
morphHosts = import lib/morph.nix;
|
||||||
forAllSystems = f: builtins.mapAttrs
|
forAllSystems = f: builtins.listToAttrs (map
|
||||||
(name: _: f name)
|
(name: { inherit name; value = f name; })
|
||||||
(nixpkgs.legacyPackages);
|
(with nixpkgs.lib.systems.supported; tier1 ++ tier2));
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = self.lib.forAllSystems
|
packages = self.lib.forAllSystems
|
||||||
|
|
Loading…
Reference in a new issue