Expose NixOS toplevels for Garnix
This commit is contained in:
parent
71b72ce394
commit
829b638d0a
@ -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";
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user