mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat: replaced deploy system, migrated to infrastructure's methodologies
This commit is contained in:
parent
5cb3895570
commit
89505a91cd
24 changed files with 919 additions and 654 deletions
33
outputs.nix
Normal file
33
outputs.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{inputs}: let
|
||||
patchedInputs = import ./patchedInputs.nix {inherit inputs;};
|
||||
inherit
|
||||
(import ./overlays {
|
||||
inputs = patchedInputs;
|
||||
})
|
||||
pkgs
|
||||
;
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
tree = import ./tree.nix {
|
||||
inherit pkgs;
|
||||
inputs = patchedInputs;
|
||||
};
|
||||
systems = import ./systems {
|
||||
inherit inputs lib std pkgs;
|
||||
tree = tree.impure;
|
||||
};
|
||||
shells =
|
||||
inputs.flake-utils.lib.eachDefaultSystem
|
||||
(system: rec {
|
||||
devShells.default = import ./devShell.nix {inherit system inputs;};
|
||||
});
|
||||
std = import ./std.nix {inherit inputs;};
|
||||
inherit (std) set;
|
||||
checks = set.map (_: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
|
||||
in
|
||||
{
|
||||
inherit tree std lib checks;
|
||||
inputs = patchedInputs;
|
||||
legacyPackages = pkgs;
|
||||
}
|
||||
// systems
|
||||
// shells
|
||||
Loading…
Add table
Add a link
Reference in a new issue