!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

312 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena104 Servers

Load older messages


SenderMessageTime
12 May 2026
@lennart:0520.chlennart joined the room.06:47:17
@lennart:0520.chlennart

hi, thanks a lot for colmena. though I'm a long time NixOS user this is the first deployment tool I use. :)

we had the problem yesterday, that the separate repo containing secrets wasn't pulled before applying changes. thus old secrets were pushed.

how would you solve that? thinking about aliasing colmena to include some checks before actually running it but that seems hackish.

there are no pre-run hooks, right?

07:08:44
@lennart:0520.chlennartwanna move to a CI using comin soonish, that should solve it aswell. happy about any input :)07:10:48
@samuel:mnzn.devSamuel Have you considered not using a separate repo for the secrets? Secrets are part of the system configuration which can't function without them. So they need to be versioned together. 07:57:56
@samuel:mnzn.devSamuel Because instead of needing exactly one commit hash to reproduce a known configuration, you somehow need to keep a map between the commits of each repo. That just sounds like trouble. 08:00:08
@lennart:0520.chlennartyep, you're right! gonna put that in one repo, solves that problem. thanks :)08:11:27
@freylienalien:matrix.orgFrey joined the room.11:14:42
14 May 2026
@puercopop:matrix.org@puercopop:matrix.org left the room.03:53:26
15 May 2026
@sinan:sinanmohd.comsinanis there any doc/blog comparing colmena vs deploy-rs right now i just keep things like ./hetzner-ex63-base ./hetzner-ex63-01 ./hetzner-ex63-02 ./hetzner-ex63-02 hetzner-ex63-0[1-3]+ just imports base and set hostname and private link ip and deploy with nixos-anywhere deploy20:07:09
@sinan:sinanmohd.comsinan * is there any doc/blog comparing colmena vs deploy-rs right now i just keep things like ./hetzner-ex63-base ./hetzner-ex63-01 ./hetzner-ex63-02 ./hetzner-ex63-02 hetzner-ex63-0[1-3]+ just imports base and set hostname and private link ip and deploy with nixos-anywhere 20:07:29
@sinan:sinanmohd.comsinan * is there any doc/blog comparing colmena vs deploy-rs right now i just keep things like ./hetzner-ex63-base ./hetzner-ex63-01 ./hetzner-ex63-02 ./hetzner-ex63-02 hetzner-ex63-0[1-3] just imports base and set hostname and private link ip and deploy with nixos-anywhere 20:07:36
@sinan:sinanmohd.comsinan * is there any doc/blog comparing colmena vs deploy-rs right now i just keep things like ./hetzner-ex63-base ./hetzner-ex63-01 ./hetzner-ex63-02 ./hetzner-ex63-03 hetzner-ex63-0[1-3] just imports base and set hostname and private link ip and deploy with nixos-anywhere 20:07:50
@ysun:beeper.comYifei Sun it would work
the advantage for colmena vs deploy-rs is parallel eval/deployment
and the downside ofc, is u dont have magic rollback
20:17:42
@sinan:sinanmohd.comsinanfeel like magick rollback should be a nixos (nixpkgs) feature like the activation script would start a systemd unit and listen for ssh connection, if anyone logs in successfully it's exits, otherwise it's rollbacked to previous version and there might be some post hook in colmena that we can use to automate the ssh login to deployed machine after switch 20:23:57
@sinan:sinanmohd.comsinan* feel like magick rollback should be a nixos (nixpkgs) feature like the activation script would start a systemd unit and listen for ssh connection, if anyone logs in successfully it exits, otherwise it's rollbacked to previous version and there might be some post hook in colmena that we can use to automate the ssh login to deployed machine after switch 20:24:12
@sinan:sinanmohd.comsinan* feel like magick rollback should be a nixos (nixpkgs) feature like the activation script would start a systemd unit and listen for ssh connection, if anyone logs in successfully it exits, otherwise machine is rollbacked to previous version and there might be some post hook in colmena that we can use to automate the ssh login to deployed machine after switch 20:24:22
@ysun:beeper.comYifei Sun

post hook in colmena

im not aware of any

20:25:33
@ysun:beeper.comYifei Sun tbh at this point the project hasnt seen any activity in more than 6mo
i plan to fork it and just use it for myself
20:26:24
@sinan:sinanmohd.comsinancolmena or deploy-rs20:27:17
@ysun:beeper.comYifei Suncolmena20:27:24
@ysun:beeper.comYifei Sundont get me wrong i still like it very much but for example, the darwin support pr has been there for a bit but...20:28:07
@ysun:beeper.comYifei Sun https://github.com/zhaofengli/colmena/pull/319 20:28:39
@sinan:sinanmohd.comsinandamn20:29:07
@sinan:sinanmohd.comsinanpr has too many comments, slop ?20:31:30
@ysun:beeper.comYifei Suni dont do rust dev so cant judge on that but calling it slop is a bit to severe20:32:42
@sinan:sinanmohd.comsinanyeah me neither just being empathetic, ik how it feels to review slop prs :P maybe he's just burned out20:35:27
@ysun:beeper.comYifei Sun

maybe he's just burned out

yeah most likely

20:35:50
18 May 2026
@bryan.bennett:matrix.org@bryan.bennett:matrix.org left the room.00:47:12
@71rd:catgirl.cloud71rd joined the room.08:47:34
19 May 2026
@todoqki:matrix.orgtodo joined the room.15:41:20

There are no newer messages yet.


Back to Room ListRoom Version: 6