diff --git a/hosts/nixos.nix b/hosts/nixos.nix index a4e5187..a3a8e3a 100644 --- a/hosts/nixos.nix +++ b/hosts/nixos.nix @@ -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, ... }: { diff --git a/lib/hours.nix b/lib/hours.nix index 3dc1a8e..47cc30c 100644 --- a/lib/hours.nix +++ b/lib/hours.nix @@ -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; }; }); }