Refactor: Moved profiles/*/home to users/kat/... Reorganised

users/kat/...
This commit is contained in:
kat witch 2021-05-06 15:43:59 +01:00
parent 99da1a04e4
commit 82d22bf87b
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
82 changed files with 302 additions and 428 deletions

View file

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