summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..f13eb77
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,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; };
+}
+
+