{"id":13798548,"url":"https://github.com/nlewo/comin","last_synced_at":"2026-02-18T11:11:44.222Z","repository":{"id":89154226,"uuid":"576571904","full_name":"nlewo/comin","owner":"nlewo","description":"GitOps For NixOS Machines","archived":false,"fork":false,"pushed_at":"2025-04-20T07:24:54.000Z","size":383,"stargazers_count":597,"open_issues_count":30,"forks_count":23,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-20T08:30:38.592Z","etag":null,"topics":["cicd","continuous-deployment","deployment","gitops","nix","nixos"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nlewo.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-12-10T09:13:26.000Z","updated_at":"2025-04-20T07:24:57.000Z","dependencies_parsed_at":"2023-10-25T16:05:57.168Z","dependency_job_id":"3586cb7e-faf8-410d-a1ab-a407b15391bd","html_url":"https://github.com/nlewo/comin","commit_stats":{"total_commits":177,"total_committers":7,"mean_commits":"25.285714285714285","dds":"0.10734463276836159","last_synced_commit":"84ef9af404b9157eab2c5e3e44d7c29239329901"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlewo%2Fcomin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlewo%2Fcomin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlewo%2Fcomin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlewo%2Fcomin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nlewo","download_url":"https://codeload.github.com/nlewo/comin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459083,"owners_count":22074604,"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","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":["cicd","continuous-deployment","deployment","gitops","nix","nixos"],"created_at":"2024-08-04T00:00:45.733Z","updated_at":"2026-02-18T11:11:44.217Z","avatar_url":"https://github.com/nlewo.png","language":"Go","readme":"# comin - GitOps for NixOS Machines\n\n**comin** is a NixOS deployment tool operating in pull mode. Running\non a machine, it periodically polls Git repositories and deploys the\nNixOS configuration associated to the machine.\n\n## Features\n\n- :snowflake: Git push to deploy NixOS configurations (or [nix-darwin](./docs/howtos.md#how-to-deploy-a-nix-darwin-configuration))\n- :handshake: Support flake and [non-flake](./docs/howtos.md#how-to-use-comin-without-nix-flake) repositories\n- :construction: Support testing branches to [try changes](./docs/howtos.md#how-to-test-a-nixos-configuration-change)\n- :rocket: Poll [multiple Git remotes](./docs/generated-module-options.md#servicescominremotes) to avoid SPOF\n- :postbox: Support [machines migrations](./docs/howtos.md#how-to-migrate-a-configuration-from-a-machine-to-another-one)\n- :fast_forward: Fast iterations with [local remotes](./docs/howtos.md#iterate-faster-with-local-repository)\n- :satellite: Observable via [Prometheus metrics](./docs/generated-module-options.md#servicescominexporter)\n- :pushpin: Create and delete system profiles\n- :lock: Optionally check [Git commit signatures](./docs/howtos.md#check-git-commit-signatures)\n\n## Quick start\n\nThis is a basic `flake.nix` example:\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:nixOS/nixpkgs\";\n    comin = {\n      url = \"github:nlewo/comin\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n  outputs = { self, nixpkgs, comin }: {\n    nixosConfigurations = {\n      myMachine = nixpkgs.lib.nixosSystem {\n        system = \"x86_64-linux\";\n        modules = [\n          comin.nixosModules.comin\n          ({\n            services.comin = {\n              enable = true;\n              remotes = [{\n                name = \"origin\";\n                url = \"https://gitlab.com/your/infra.git\";\n                branches.main.name = \"main\";\n              }];\n            };\n          })\n        ];\n      };\n    };\n  };\n}\n```\n\nThis enables a systemd service, which periodically pulls the `main`\nbranch of the repository `https://gitlab.com/your/infra.git` and\ndeploys the NixOS configuration corresponding to the machine hostname\n`myMachine`.\n\nA new commit in the `main` branch of the repository\n`https://gitlab.com/your/infra.git` is then deployed in the next 60\nseconds.\n\nComin exposes much more options which are described in the [generated\ndocumentation](https://github.com/nlewo/comin/blob/main/docs/generated-module-options.md).\n\n## Documentation\n\n- [Howtos](./docs/howtos.md)\n- [Advanced Configuraion](./docs/advanced-config.md)\n- [Authentication](./docs/authentication.md)\n- [Comin module options](./docs/generated-module-options.md)\n- [Design](./docs/design.md)\n- [Contribute](./docs/contribute.md)\n","funding_links":[],"categories":["Go","Deployment Tools"],"sub_categories":["Discovery"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlewo%2Fcomin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlewo%2Fcomin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlewo%2Fcomin/lists"}