first pass

This commit is contained in:
ari committed 2026-11-01 11:47:41 -05:00
commit 7822529a38
31 files changed
+7050

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
{
description = "slackspawn: a Slack bot that runs goose agents in NixOS containers";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages.${system}.default = pkgs.buildGoModule {
pname = "slackspawn";
version = "0.1.0";
src = ./.;
vendorHash = pkgs.lib.fakeHash; # replace with the hash the first build prints
};
nixosConfigurations.agent = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./nix/container.nix ];
};
nixosModules.host = import ./nix/host.nix self;
};
}