summaryrefslogtreecommitdiff
path: root/default.nix
blob: f13eb7779af4f8f7e6b29c7407e2ea3c70ddfb06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let
  sources = import ./nix/sources.nix;
  pkgs = import ./pkgs {};

  hosts = import ./lib/hosts.nix {
    inherit pkgs;
    hostsDir = ./hosts;
    commonImports = [ ./common ];
    pkgsPath = ./pkgs;
  };
in 
{
  inherit sources pkgs;
  inherit (hosts) hosts groups;
  deploy = import ./lib/deploy.nix { inherit pkgs; inherit (hosts) hosts groups; };
}