!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
6 Apr 2024
@n0emis:noemis.men0emis changed their profile picture.09:05:36
@julian:nekover.seJune
In reply to @julian:nekover.se

Hi o/
Recently I'm getting the following error whenever trying to run colmena build:

error: cannot update unlocked flake input 'hive' in pure mode
Figured out my problem is very likely https://github.com/zhaofengli/colmena/issues/202 btw :S
18:42:03
8 Apr 2024
@pgibson:matrix.orgpgibsonimage.png
Download image.png
01:11:01
@pgibson:matrix.orgpgibsonI've just had another failed deploy where I lost network connectivity to my Digital Ocean droplet after "pushed system closure" and while "stopping the following units: podman-<redacted>.service, podman-<another redacted>.service". This time I had created an admin user so I can log in via the support console. It looks like the default route is incorrect. 01:11:10
@pgibson:matrix.orgpgibsonThe public interface has an IP address and is "UP", however there's no entry in the routing table for it and the default route is via interface veth0 which seems wrong01:12:51
@pgibson:matrix.orgpgibsonSo it sounds like sometimes restarting the podman services is breaking the routing table - NixOS issue?01:14:01
@pgibson:matrix.orgpgibsonLast time a reboot fixed the connectivity issue, but it would be good to find out why it's breaking so for the moment I haven't rebooted 01:15:57
@tiha889a:tu-dresden.de@tiha889a:tu-dresden.de 08:14:36
@tiha889a:tu-dresden.de@tiha889a:tu-dresden.de removed their display name Tim.08:14:57
@tiha889a:tu-dresden.de@tiha889a:tu-dresden.de left the room.08:15:04
@palo:xaos.space@palo:xaos.space left the room.12:56:03
10 Apr 2024
@skamdart:matrix.org@skamdart:matrix.org left the room.18:19:00
11 Apr 2024
@sntx:matrix.orgsntx I just want to check with you, in case I misunderstood colmena.

Colmena is a tool to manage existing NixOS configurations. However it cannot create new NixOS installations.

Is that correct?
11:44:28
@sammy:cherrykitten.devSammy (It/Its)
In reply to @sntx:matrix.org
I just want to check with you, in case I misunderstood colmena.

Colmena is a tool to manage existing NixOS configurations. However it cannot create new NixOS installations.

Is that correct?
correct.
18:04:23
@dmoonfire:matrix.orgdmoonfireI use OpenTofu to make new instances, then set them up in Colmena to manage them.18:36:43
@dmoonfire:matrix.orgdmoonfireMostly by having OpenTofu (Terraform) emit variables with IP addresses, init script with infect, and providing my ssh key. The emitted variables are turned into a .nix file which I import into my colmena setup to hook things up.19:39:58
12 Apr 2024
@yuka:yuka.dev@yuka:yuka.dev changed their profile picture.08:07:14
14 Apr 2024
@samtan106:matrix.org@samtan106:matrix.org joined the room.18:49:21
@samtan106:matrix.org@samtan106:matrix.org Hey there. I am trying to do a multi arch deployment using colmena since my machine is x86 but the PI that I'm deploying to is aarch64-linux. In the guide for this (https://colmena.cli.rs/0.3/examples/multi-arch.html), it suggests to do boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; locally. However, my local machine is not a NixOS machine, it's using arch linux. Is there a way for me to configure my machine locally for cross compilation anyway? 18:55:29
16 Apr 2024
@farcaller:hdev.imfarcaller joined the room.20:00:22
17 Apr 2024
@JoelMcCracken:matrix.orgJoelMcCracken joined the room.16:29:49
18 Apr 2024
@mall0c:matrix.orgmall0c joined the room.00:50:14
@mall0c:matrix.orgmall0c
In reply to @sntx:matrix.org
I just want to check with you, in case I misunderstood colmena.

Colmena is a tool to manage existing NixOS configurations. However it cannot create new NixOS installations.

Is that correct?
has anybody found a way to do what sntx is doing? I found something called "nixos-anywhere" but seems host or control machine also needs to be nixOS
00:52:06
@4censord:unfug.hs-furtwangen.de@4censord:unfug.hs-furtwangen.de

The least amount of (getting started) effort is just installing nixos by hand, and only then managing it with colmena.

To automate creation of new nixos hosts, either use some kind of template and something like OpenTofu (terraform), or something like nixos-infect with generic linux templates from your hosting provider

07:57:17
19 Apr 2024
@belak:matrix.org@belak:matrix.org left the room.19:52:35
23 Apr 2024
@shadow-knight101:matrix.orgamidamaru joined the room.01:48:02
@min:min.rip@min:min.rip joined the room.23:36:11
26 Apr 2024
@hansemschnokeloch:matrix.orghansemschnokeloch joined the room.06:07:10
@tim92:matrix.orgtim
In reply to @mall0c:matrix.org
has anybody found a way to do what sntx is doing? I found something called "nixos-anywhere" but seems host or control machine also needs to be nixOS
Nixos anywhere just requires ssh access and kexec on the to be provisioned host, but depending on where you want to create your machines it is just not worth the effort to do that declaratively
07:13:49
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad (she/they).23:47:44

Show newer messages


Back to Room ListRoom Version: 6