{"id":15954794,"url":"https://github.com/tembleking/carbonblack-nix","last_synced_at":"2025-10-24T04:24:04.865Z","repository":{"id":241754535,"uuid":"807574268","full_name":"tembleking/carbonblack-nix","owner":"tembleking","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-17T15:13:47.000Z","size":99075,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T06:43:45.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tembleking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T11:10:08.000Z","updated_at":"2025-01-17T15:13:50.000Z","dependencies_parsed_at":"2025-04-04T06:43:44.522Z","dependency_job_id":"1e2bdeb8-895b-4b1b-8625-54159bed240c","html_url":"https://github.com/tembleking/carbonblack-nix","commit_stats":null,"previous_names":["tembleking/carbonblack-nix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tembleking/carbonblack-nix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcarbonblack-nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcarbonblack-nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcarbonblack-nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcarbonblack-nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tembleking","download_url":"https://codeload.github.com/tembleking/carbonblack-nix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcarbonblack-nix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278406453,"owners_count":25981657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T13:19:54.155Z","updated_at":"2025-10-05T03:57:31.158Z","avatar_url":"https://github.com/tembleking.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Carbon Black Cloud Sensor Flake\n\nThis repository contains a Nix flake for installing and running the Carbon Black Cloud Sensor on NixOS. The Carbon Black Cloud Sensor is an endpoint agent that provides security and monitoring capabilities.\nThis flake uses an existing Debian package, applies necessary patches, and sets up a systemd service to manage the sensor.\n\n## Installation\n\n### Add the flake to your NixOS configuration\n\nAdd the flake to your `flake.nix` configuration file in the inputs and the config:\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\";\n    cbagentd = {\n      url = \"github:tembleking/carbonblack-nix\";  # \u003c- Add this input\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n\n  outputs = { self, nixpkgs, cbagentd }: {\n    nixosConfigurations = {\n      hostname = nixpkgs.lib.nixosSystem {\n        system = \"x86_64-linux\";\n        modules = [\n          ./configuration.nix\n          cbagentd.nixosModules.cbagentd   # \u003c- Add this module config\n        ];\n      };\n    };\n  };\n}\n```\n\n### Configure the service\n\nAdd the following to your NixOS configuration file (usually `configuration.nix`):\n\n```nix\n{\n  services.cbagentd = {\n    enable = true;\n    code = \"your-registration-code\";\n  };\n}\n```\n\nReplace `\"your-registration-code\"` with your actual registration code.\n\n### Rebuild your NixOS system:\n\n```bash\nsudo nixos-rebuild switch\n```\n\nThis command will rebuild your system configuration and start the Carbon Black Cloud Sensor service.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftembleking%2Fcarbonblack-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftembleking%2Fcarbonblack-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftembleking%2Fcarbonblack-nix/lists"}