Expose NixOS toplevels for Garnix

This commit is contained in:
Josh Palmer 2026-01-10 16:23:11 +01:00
parent 71b72ce394
commit 829b638d0a
2 changed files with 8 additions and 3 deletions

View File

@ -31,10 +31,15 @@
if pkgs ? clawdbot-gateway
then pkgs.clawdbot-gateway
else pkgs.clawdbot;
systemPackages =
if system == "x86_64-linux" then {
clawdinator-system = self.nixosConfigurations.clawdinator-1.config.system.build.toplevel;
clawdinator-image-system = self.nixosConfigurations.clawdinator-1-image.config.system.build.toplevel;
} else {};
in {
clawdbot-gateway = gateway;
default = gateway;
});
} // systemPackages);
nixosConfigurations.clawdinator-1 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";

View File

@ -1,5 +1,5 @@
builds:
include:
- "packages.*"
- "nixosConfigurations.clawdinator-1.config.system.build.toplevel"
- "nixosConfigurations.clawdinator-1-image.config.system.build.toplevel"
- "packages.x86_64-linux.clawdinator-system"
- "packages.x86_64-linux.clawdinator-image-system"