first pass
This commit is contained in:
commit
7822529a38
31 files changed
+7050
No files matched your search
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user