mirror of
https://github.com/openclaw/clawdinators.git
synced 2026-07-01 20:24:02 -04:00
Expose NixOS toplevels for Garnix
This commit is contained in:
@@ -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";
|
||||
|
||||
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user