{ 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; }; }