witch: Further deprecation efforts

This commit is contained in:
kat witch 2021-05-06 16:08:14 +01:00
parent 8dbee8ce83
commit f95acee54d
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
6 changed files with 61 additions and 61 deletions

View file

@ -1,5 +1,5 @@
{ pkgs, target, users, hostsDir ? ../hosts, profiles, pkgsPath ? ../pkgs
, sources ? { }, witch ? { } }:
, sources ? { } }:
with pkgs.lib;
@ -27,7 +27,7 @@ rec {
else
{ })
];
specialArgs = { inherit sources target profiles witch hostName users; };
specialArgs = { inherit sources target profiles hostName users; };
})) hostNames);
targets = foldAttrs (host: hosts: [ host ] ++ hosts) [ ] (mapAttrsToList