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