lib.summon: drop reflection
This commit is contained in:
parent
f39a48c425
commit
601fc03e32
2 changed files with 3 additions and 6 deletions
|
@ -5,7 +5,7 @@ let
|
|||
inherit (config) gods;
|
||||
|
||||
mkNixOS = name: host: nixosSystem {
|
||||
specialArgs = config.lib.summon name lib.id;
|
||||
specialArgs = config.lib.summon host.system lib.id;
|
||||
modules = [
|
||||
host.nixos
|
||||
(withSystem host.system ({ config, pkgs, ... }: {
|
||||
|
|
|
@ -5,14 +5,11 @@ let
|
|||
in
|
||||
|
||||
{
|
||||
lib.summon = name: f: let
|
||||
lib.summon = system: f: let
|
||||
lift = config;
|
||||
hour = config.hours.${name};
|
||||
in withSystem hour.system ({ config, inputs', self', ... }: f {
|
||||
in withSystem system ({ config, inputs', self', ... }: f {
|
||||
depot = self // self' // lift // config // {
|
||||
inputs = mapAttrs (name: const (inputs.${name} // inputs'.${name})) inputs;
|
||||
# peer into the Watchman's Glass
|
||||
reflection = hour;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue