Work in progress refactor.

This commit is contained in:
kat witch 2021-03-03 03:00:51 +00:00
parent ad1faf2f24
commit 9ece41ee80
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
14 changed files with 130 additions and 76 deletions

View file

@ -1,13 +1,14 @@
let
rec {
sources = import ./nix/sources.nix;
pkgs = import ./pkgs { };
hosts = import ./lib/hosts.nix { inherit pkgs; };
in {
inherit pkgs;
witch = import ./lib/witch.nix { lib = pkgs.lib; };
hosts = import ./lib/hosts.nix { inherit pkgs sources witch; };
inherit (pkgs) lib;
inherit (hosts) hosts profiles;
deploy = import ./lib/deploy.nix {
inherit pkgs;
inherit (hosts) hosts profiles;
};
sources = import ./nix/sources.nix;
}