From 829b638d0a6a1f35c2955e95d174d80782d52f03 Mon Sep 17 00:00:00 2001 From: Josh Palmer Date: Sat, 10 Jan 2026 16:23:11 +0100 Subject: [PATCH] Expose NixOS toplevels for Garnix --- flake.nix | 7 ++++++- garnix.yaml | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index fdfdb32..d0bf6e8 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/garnix.yaml b/garnix.yaml index 15023cc..e4f9302 100644 --- a/garnix.yaml +++ b/garnix.yaml @@ -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"