mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Work in progress refactor.
This commit is contained in:
parent
ad1faf2f24
commit
9ece41ee80
14 changed files with 130 additions and 76 deletions
13
default.nix
13
default.nix
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue