!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

You have reached the beginning of time (for this room).


SenderMessageTime
1 Apr 2024
@pamplemouss_:matrix.orgpamplemousse joined the room.16:14:13
@thesimplekid:matrix.org@thesimplekid:matrix.org joined the room.20:57:52
@thesimplekid:matrix.org@thesimplekid:matrix.org
In reply to @me:indeednotjames.com

you can also mix colmena nodes and your "vanilla" lib.nixosSystem in nixosConfigurations that way (for use with nixos-rebuild):

https://git.geklaute.cloud/emilylange/nixos-config/src/commit/22570786b24b606484447bef7a29fe565d475db7/flake.nix#L48-L76

Does that mean not all the machines will be built with colmena build if i take our the following lines No hosts are selected? how are the machines ryzen and frameless uses? nisos-rebuild?

https://git.geklaute.cloud/emilylange/nixos-config/src/commit/22570786b24b606484447bef7a29fe565d475db7/flake.nix#L42-L45

23:30:08
@thesimplekid:matrix.org@thesimplekid:matrix.org set a profile picture.23:31:17
3 Apr 2024
@julian:nekover.seJune

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
00:10:58
@julian:nekover.seJune

Version infos:

$ nix --version
nix (Nix) 2.21.1
$ colmena --version
Colmena 0.4.0
00:11:32
4 Apr 2024
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr) joined the room.14:54:11
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr)hey there14:54:21
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr)i believe with nixops it was possible to basically "hijack" a system not running nixos yet? as in using the "copy" deployment method14:54:49
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr)is that possible with colmena?14:54:54
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr)given there is ssh access with root privileges14:55:07
@ajs124:ajs124.deajs124 are you maybe thinking of the NIXOS_LUSTRATE feature?
that's a NixOS feature that can have support in the deployment tooling but should also sort of work without it.
14:56:37
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr)no i don't know if i am totally hanging but i'm thinking more of a scenario where you have a server that's running some OS, let's say Debian, and you just go and deploy a nixos config onto it and it results in a NixOs system14:59:26
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr)the more i think about it the more i believe i am just delusional right now14:59:42
@ajs124:ajs124.deajs124 but you can do that with NIXOS_LUSTRATE, no? 15:00:32
@me:indeednotjames.comemily
In reply to @polygon:catgirl.cloud
the more i think about it the more i believe i am just delusional right now
no no, there are various ways/projects that achieve that
15:08:43
@sntx:matrix.orgsntx joined the room.21:09:17
5 Apr 2024
@janik0:matrix.orgJanik (they/them)What is the current state of things for adding more platform support? I think I saw some messages regarding it some time ago but don't exactly remember.00:18:01
@janik0:matrix.orgJanik (they/them)
In reply to @polygon:catgirl.cloud
no i don't know if i am totally hanging but i'm thinking more of a scenario where you have a server that's running some OS, let's say Debian, and you just go and deploy a nixos config onto it and it results in a NixOs system
the most common one is nixos-anywhere I believe, but there is also some others like nixos-infect. There is also a issue in the colmena repo about this feature https://github.com/zhaofengli/colmena/issues/148
00:20:21
@networkexception:chat.upi.li@networkexception:chat.upi.li
In reply to @me:indeednotjames.com
no no, there are various ways/projects that achieve that
out of scope for this room perhaps, in general there are many ways with varying levels of customizability / if and how you keep the previous installation and their files in tact
00:36:27
@4censord:unfug.hs-furtwangen.de@4censord:unfug.hs-furtwangen.de joined the room.17:56:00
6 Apr 2024
@n0emis:noemis.me@n0emis:noemis.me changed their profile picture.09:01:59
@n0emis:noemis.me@n0emis:noemis.me 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

Show newer messages


Back to Room ListRoom Version: 6