Colmena | 294 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 101 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Nov 2024 | ||
| 16:19:58 | ||
| 6 Nov 2024 | ||
| 13:49:56 | ||
| 16:11:01 | ||
| 8 Nov 2024 | ||
| 08:11:11 | ||
| 18:59:09 | ||
| 11 Nov 2024 | ||
| 13:03:19 | ||
| Hi, I've recently found this project and was wondering if it's possible to just replace an existing deploy-rs setup with Colmena or would it cause some issues? | 13:04:01 | |
| 18:49:13 | ||
In reply to @luna:bddvlpr.comhi! As far as I know, colmena isn't a drop-in replacement for deploy-rs | 18:49:37 | |
| both are using a different config structure | 18:49:47 | |
| 13 Nov 2024 | ||
| Well besides reconfiguring the config structure, I’ve tried replacing deploy-rs’ flake structure with colmena’s but ran into some troubles. I’m guessing it’s because of the experimental flake support but haven’t had the time to properly look into it yet. | 11:53:02 | |
| 15 Nov 2024 | ||
| can colmena secrets deploy a whole directory, not single files only? | 09:51:15 | |
In reply to @luna:bddvlpr.comI did the opposite for some of my machines recently to test deploy-es and had no issue. Feel free to post the log here next time. | 12:25:29 | |
In reply to @luna:bddvlpr.com* | 12:25:36 | |
| 16 Nov 2024 | ||
In reply to @ibizaman:matrix.orgWill do^ | 11:41:09 | |
| 21:35:13 | ||
| 22:45:18 | ||
hi, looking at the docs w/flakes each host is defined in outputs.colmena.<hostname> similar to nixosConfigurations, but is it possible to instead read each host's configuration from separate files?e.g. instead of outputs.colmena.host-a and outputs.colmena.host-b I could refer to files hosts/host-a.nix and hosts/host-b.nix (and all possible hosts within the hosts/ directory without specifying each one in flake.nix) | 22:49:07 | |
I would still want to use outputs.colmena.meta and outputs.colmena.defaults in this scenario | 22:51:13 | |
| 17 Nov 2024 | ||
| think I figured it out, or atleast it seems to work:
| 08:39:26 | |
In reply to @inomena:matrix.orgOh nice you went the extra mile with readDir. I was going to suggest plain imports but that works well! | 08:57:01 | |
| I wanted it to be fully dynamic, so that the only thing I need to do to add a new host to the hive is to define a single <hostname>.nix file in the hosts dir and nothing else | 08:57:56 | |
| not having to also define it in a few other places | 08:58:09 | |
| * not having to also define imports in a few other places | 08:58:18 | |
In reply to @ser:sergevictor.euI don't believe so. But you can use the keyCommand option to create an archive (tar, zip) from a directory and then use systemd services to extract it. That's what I do for this at least | 14:06:26 | |
| that's a nice concept, i didn't think about it, thanks! | 14:08:58 | |
| 18:39:43 | ||
| What tool do you people think would fit well with Colmena when deploying bare metal? | 18:50:44 | |
| Unattended install etc. | 18:50:52 | |
| 18 Nov 2024 | ||
In reply to@ibizaman:matrix.orgFinally got to it, here's what I get: | 09:17:57 | |