https://github.com/juspay/colmena-flake
A `flake-parts` module for colmena deployment tool
https://github.com/juspay/colmena-flake
Last synced: about 1 year ago
JSON representation
A `flake-parts` module for colmena deployment tool
- Host: GitHub
- URL: https://github.com/juspay/colmena-flake
- Owner: juspay
- License: agpl-3.0
- Created: 2024-03-26T17:47:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T15:57:47.000Z (over 2 years ago)
- Last Synced: 2024-11-12T11:40:04.973Z (over 1 year ago)
- Language: Nix
- Size: 18.6 KB
- Stars: 8
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://nixos.zulipchat.com/#narrow/stream/413949-haskell-flake)
# colmena-flake
A `flake-parts` module for [colmena](https://github.com/zhaofengli/colmena) deployment tool, allowing direct use of existing `nixosConfigurations` (with the associated tradeoffs).
## How to use
1. Keep your existing NixOS configuration in `nixosConfigurations.` (business as usual)
2. Add your [colmena deployment options](https://colmena.cli.rs/unstable/reference/deployment.html) for any of those configurations, decoupled, under `flake.colmena-flake.deployment.`.
3. Add `pkgs.colmena` to your devShell, and run `colmena apply` to deploy.
## Examples
- [srid/nixos-config](https://github.com/srid/nixos-config/blob/62471af8ca53d7a74b3dd9fabc56d278be0df92d/flake.nix#L49-L63)