mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
project-wide: Accessing tf config from NixOS now possible
This commit is contained in:
parent
1ce1328695
commit
74cee01680
4 changed files with 6 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, tf, hostsDir ? ../hosts, profiles, pkgsPath ? ../pkgs, sources ? { }
|
||||
{ pkgs, target, hostsDir ? ../hosts, profiles, pkgsPath ? ../pkgs, sources ? { }
|
||||
, witch ? { } }:
|
||||
|
||||
with pkgs.lib;
|
||||
|
|
@ -27,7 +27,7 @@ rec {
|
|||
else
|
||||
{ })
|
||||
];
|
||||
specialArgs = { inherit sources tf profiles witch hostName; };
|
||||
specialArgs = { inherit sources target profiles witch hostName; };
|
||||
})) hostNames);
|
||||
|
||||
targets = foldAttrs (host: hosts: [ host ] ++ hosts) [ ] (mapAttrsToList
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue