mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
18 lines
463 B
Nix
18 lines
463 B
Nix
rec {
|
|
sources = import ./nix/sources.nix;
|
|
pkgs = import ./pkgs { inherit sources; };
|
|
witch = import ./lib/witch.nix { lib = pkgs.lib; };
|
|
profiles = witch.modList {
|
|
modulesDir = ./profiles;
|
|
defaultFile = "nixos.nix";
|
|
};
|
|
|
|
hosts = import ./lib/hosts.nix { inherit pkgs sources witch profiles; inherit (deploy) tf; };
|
|
|
|
inherit (pkgs) lib;
|
|
|
|
deploy = import ./lib/deploy.nix {
|
|
inherit pkgs sources;
|
|
inherit (hosts) hosts groups;
|
|
};
|
|
}
|