feat: automated deployment (#7)
diff-tag / dix (push) Successful in 6m44s
flake-check / flake-check (push) Successful in 4m28s
lint / lint (push) Successful in 1m47s

Co-authored-by: Floweynt <50057682+Floweynt@users.noreply.github.com>
Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2026-09-14 04:40:53 +00:00
co-authored by Floweynt
parent b083c03d5e
commit 678031aa0c
7 changed files with 192 additions and 3 deletions
+7 -1
View File
@@ -11,6 +11,7 @@
outputs =
{
self,
nixpkgs,
mtce,
microvm,
@@ -21,6 +22,8 @@
inherit (nixpkgs) lib;
pkgs = import nixpkgs { inherit system; };
flakeRev = self.shortRev or self.dirtyShortRev or "unknown";
customPkgs = {
hopper-rs = pkgs.callPackage ./packages/hopper-rs.nix { };
sshpiper = pkgs.callPackage ./packages/sshpiper.nix { };
@@ -29,6 +32,7 @@
server-rebuild = pkgs.callPackage ./packages/server-rebuild.nix { };
server-status = pkgs.callPackage ./packages/server-status.nix { };
server-kexec = pkgs.callPackage ./packages/server-kexec.nix { };
server-autodeploy = pkgs.callPackage ./packages/server-autodeploy.nix { };
};
ci = import ./ci.nix { inherit lib pkgs; };
@@ -46,12 +50,13 @@
server = "/persist/@containers";
data = "/persist/@containers/data";
secrets = "/persist/@secrets/";
config = "/persist/@config/";
};
};
specialArgsFor = hostName: {
hostInfo = hostInfoFor hostName;
inherit inputs customPkgs;
inherit inputs customPkgs flakeRev;
};
hostDefFor =
@@ -147,6 +152,7 @@
server-rebuild
server-status
server-kexec
server-autodeploy
;
};
};