mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49: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
|
|
@ -2,8 +2,8 @@
|
|||
inputs,
|
||||
system,
|
||||
}: let
|
||||
meta = import ./meta.nix {inherit inputs system;};
|
||||
inherit (meta) pkgs;
|
||||
meta = import ./outputs.nix {inherit inputs;};
|
||||
pkgs = meta.legacyPackages.${system};
|
||||
nf-actions = pkgs.writeShellScriptBin "nf-actions" ''
|
||||
NF_CONFIG_FILES=($NF_CONFIG_ROOT/ci/{nodes,flake-cron}.nix)
|
||||
for f in "''${NF_CONFIG_FILES[@]}"; do
|
||||
|
|
@ -79,6 +79,7 @@ in
|
|||
nf-deadnix
|
||||
nf-kustomize
|
||||
nf-argocd
|
||||
deploy-rs
|
||||
];
|
||||
shellHook = ''
|
||||
export NIX_BIN_DIR=$(dirname $(readlink -f $(type -P nix)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue