Colmena | 302 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 104 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Mar 2024 | ||
| take this slightly modified example from https://github.com/zhaofengli/colmena/blob/v0.4.0/src/nix/hive/tests/makehive-flake/flake.nix
the diff to the upstream test is:
you can then use nix v3 (unstable) cli and
| 01:39:01 | |
| i am honestly a bit surprised this isn't documented lol | 01:39:20 | |
| you can also mix colmena nodes and your "vanilla" https://git.geklaute.cloud/emilylange/nixos-config/src/commit/22570786b24b606484447bef7a29fe565d475db7/flake.nix#L48-L76 | 01:41:46 | |
| here's how I do this: https://code.hackerspace.pl/ar/nibylandia/src/branch/main/flake.nix#L115-L123 | 10:35:29 | |
tl;dr: automatically generate nixosConfiguration entries based on contents of a directory, and then generating colmena nodes based off of that | 10:37:39 | |
| 21 Mar 2024 | ||
| 05:41:34 | ||
| 18:03:17 | ||
| 20:07:53 | ||
| 22 Mar 2024 | ||
| 00:51:08 | ||
| 25 Mar 2024 | ||
| 20:26:10 | ||
| 22:16:11 | ||
| I'm looking at the multi-architecture-deployments page and I feel like I must be missing something. In this instance, when you set up meta.nixpkgs, do you specify your "default" architecture, and use the nixos configuration's nixpkgs.system to override when you're not on the default? | 22:40:58 | |
| * I'm looking at the multi-architecture-deployments page and I feel like I must be missing something. In this instance, when you set up colmena.meta.nixpkgs, do you specify your "default" architecture, and use the nixos configuration's nixpkgs.system to override when you're not on the default? | 22:41:20 | |
| Redacted or Malformed Event | 22:41:32 | |
| Also, is there anything like deploy-rs's method of automatically rolling back if it determines something is broken? | 22:42:01 | |
| 26 Mar 2024 | ||
| 02:03:57 | ||
Download 2024-03-26_08-22.png | 07:25:17 | |
| Hi, i try to test the colmena project, i try test this tutorial => https://github.com/zhaofengli/colmena?tab=readme-ov-file#tutorial-with-flakes but i receive the error message. Are we in agreement that normally both hosts are supposed to run as guests (containers)? | 07:25:19 | |
| It looks to me like your deployment host cannot resolve the hostnames / IPs you've used. I'd be checking simple things like "can I ping the hosts using the hostnames I've configured" | 08:35:13 | |
Download 2024-03-26_12-40.png | 11:41:59 | |
| Thank you craige for your response. Yes, I had understood that was the issue, but the example suggests that we do a 'colmena build' and a 'colmena apply' and we have two instances available in containers (although I'm not sure if they are Docker containers, LXD containers, or something else). | 11:42:10 | |
| colmena doesn't create the intances for you, it only connects to preexisting machines | 12:48:10 | |
| 27 Mar 2024 | ||
| 13:53:54 | ||
| Room Avatar Renderer. | 13:54:04 | |
| 13:54:15 | ||
| 28 Mar 2024 | ||
| Is there a good way to convert from a flake's nixosConfigurations output to a colemena node? At the moment, I'm using this, but it seems fairly hacky:
In particular the | 05:17:27 | |
In reply to @belak:matrix.orgthere were some examples of how to do that here a few days ago, if you've been in this chat longer you should be able to scroll up to see it | 10:08:25 | |
In reply to @me:indeednotjames.comsee here and the following mesaages after | 10:09:10 | |
In reply to @sammy:cherrykitten.devOh interesting. I didn’t know colmenaHive was a thing. | 14:17:43 | |
| I assumed that was somehow related to hive.nix which people sometimes reference and seems to be completely undocumented | 14:20:24 | |