!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
5 Apr 2025
@isaacthekind92:matrix.orgisaacthekind92 joined the room.16:09:50
@isaacthekind92:matrix.orgisaacthekind92

Hey there, I'm having a bit of trouble. I keep getting this complaint:

error: The colmenaHive output (schema v0.20241006) isn't compatible with this version of Colmena.

Hint: Use the same version of Colmena as in the Flake input.

It seems like the Colmena in my devshell doesn't match the one provided by the flake input. I'm not really sure how to resolve this. Help would be appreciated, happy to share code if needed.

16:12:08
7 Apr 2025
@lxsameer:matrix.org@lxsameer:matrix.org left the room.09:43:20
8 Apr 2025
@dish1892:matrix.orgdish1892 joined the room.13:31:26
9 Apr 2025
@dish1892:matrix.orgdish1892
In reply to @isaacthekind92:matrix.org

Hey there, I'm having a bit of trouble. I keep getting this complaint:

error: The colmenaHive output (schema v0.20241006) isn't compatible with this version of Colmena.

Hint: Use the same version of Colmena as in the Flake input.

It seems like the Colmena in my devshell doesn't match the one provided by the flake input. I'm not really sure how to resolve this. Help would be appreciated, happy to share code if needed.

Not started using flakes yet, sorry
17:05:20
@dish1892:matrix.orgdish1892Anyone tried using colmena in GitHub actions? Or any other gitops way?17:07:35
@dish1892:matrix.orgdish1892
In reply to @isaacthekind92:matrix.org

Hey there, I'm having a bit of trouble. I keep getting this complaint:

error: The colmenaHive output (schema v0.20241006) isn't compatible with this version of Colmena.

Hint: Use the same version of Colmena as in the Flake input.

It seems like the Colmena in my devshell doesn't match the one provided by the flake input. I'm not really sure how to resolve this. Help would be appreciated, happy to share code if needed.

* Haven’t started using flakes yet, sorry
17:07:50
@ajs124:ajs124.deajs124
In reply to @dish1892:matrix.org
Anyone tried using colmena in GitHub actions? Or any other gitops way?
I'm using colmena to build my system configs in an action (on forgejo)
17:23:10
@dish1892:matrix.orgdish1892Very cool! Are you using a key file for the ssh connection?17:37:45
@dish1892:matrix.orgdish1892And are you using deploy.sshoptions for this?17:39:47
@ajs124:ajs124.deajs124Just build, not deploy. And then I push them to a binary cache.20:41:59
@dish1892:matrix.orgdish1892Oh okay thanks20:52:30
10 Apr 2025
@gmacon:matrix.orggmaconI've set this up. I have the deploy ssh private key in a "secret" that gets exposed to the run as an environment variable. I start an ssh agent and then pipe the key into ssh-add01:38:37
@dish1892:matrix.orgdish1892
In reply to @gmacon:matrix.org
I've set this up. I have the deploy ssh private key in a "secret" that gets exposed to the run as an environment variable. I start an ssh agent and then pipe the key into ssh-add
Noice, gonna have to try this. Thanks!
15:37:50
11 Apr 2025
@samuel:mnzn.devSamuel
In reply to @gmacon:matrix.org
I've set this up. I have the deploy ssh private key in a "secret" that gets exposed to the run as an environment variable. I start an ssh agent and then pipe the key into ssh-add
I do the same in a GitLab CI pipeline, it works perfectly that way.
14:18:20
@marshmallow:althaea.zonemarshmallow changed their profile picture.20:57:48
12 Apr 2025
@mannp:mannuk.rocksmannp changed their display name from mannp ⚡️ to mannp.07:20:51
@niklaskorz:matrix.orgniklaskorz joined the room.22:03:30
@niklaskorz:matrix.orgniklaskorz changed their profile picture.22:09:35
13 Apr 2025
@ststefa:matrix.orgststefa joined the room.09:08:53
@ststefa:matrix.orgststefaHi there! I'm rather new to nix and are currently trying to provision some Hetzner VMs (preferrably aarch64) with colmena.The first thing I'd want to do is create a base image for use with Hetzner. I already figured out some parts of the puzzle. However I fail in creating an image which I can use to upload it as a valid Hetzner image. All my attempts do not bootup properly for various reasons. Does anyb09:12:20
@ststefa:matrix.orgststefa* Hi there! I'm rather new to nix and are currently trying to provision some Hetzner VMs (preferrably aarch64) with colmena. The first thing I'd want to do is create a base image for use with Hetzner. I already figured out some parts of the puzzle. However I fail in creating an image which I can use to upload it as a valid Hetzner image. All my attempts do not bootup properly for various reasons. Does anybody here have a hint on how to create such an image, preferrably using nix itself?09:13:14
@ststefa:matrix.orgststefa* Hi there! I'm rather new to nix and are currently trying to provision some Hetzner VMs (preferrably aarch64) with colmena. The first thing I'd want to do is create a NixOS base image for use with Hetzner. I already figured out some parts of the puzzle. However I fail in creating an image which I can use to upload it as a valid Hetzner image. All my attempts do not bootup properly for various reasons. Does anybody here have a hint on how to create such an NixOS image, preferrably using nix itself?09:17:46
@dish1892:matrix.orgdish1892I’m on oracle cloud but I use nixosinfect to install nixos09:18:07
@dish1892:matrix.orgdish1892https://github.com/elitak/nixos-infect09:18:09
@dish1892:matrix.orgdish1892 The install command can be run directly from cloud init as well which is nice 09:18:45
@dish1892:matrix.orgdish1892(Then I use colmena for configuration)09:20:08
@ststefa:matrix.orgststefaAh, cool! So I'd setup a regular e.g. debian-12 with nixosinfect in the cloud-init, and then it'd be manageable using colmena? Do I get that right?09:20:20
@dish1892:matrix.orgdish1892 Yes, I think there is instructions on the GitHub page for nixos infect regarding hetzner 09:22:31
@dish1892:matrix.orgdish1892 So just follow that 09:22:35

Show newer messages


Back to Room ListRoom Version: 6