Colmena | 280 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 96 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Aug 2025 | ||
| 15:07:47 | ||
| I see. I have never used nixos-anywhere or disko before. I suppose this is probably a good way to learn. Thanks! | 17:36:04 | |
| 21:08:23 | ||
| Does anyone have an example of using an overlay + Colmena + flakes? | 22:15:29 | |
| Ah, I finally figured it out. But I needed to build latest colmena locally to apply. Or else I got this error: "The colmenaHive output (schema v0.5) isn't compatible with this version of Colmena" I saw there was a request for a new Colmena release, are there any plans to do that? | 23:07:25 | |
| 4 Aug 2025 | ||
I got it sorted on my end. But I have to carry this in my Nix config just so I can deploy through Colmena. | 01:40:54 | |
I got it sorted on my end. But I have to carry this in my Nix config just so I can deploy through Colmena without relying on a manually compiled version. | 01:41:12 | |
| this does limit you to machines that are connected to the network via ethernet right? i was about to try this with an old laptop of mine, but i realized that nixos-anywhere does not support Wifi installation | 03:11:24 | |
| -1 day of research 😭 | 03:41:47 | |
You don't need to manually make the overlay. You can either use colmena.overlays.default or take the package from colmena.packages.x86_64-linux.colmena directly. I do think it's worth it to have an example in the docs (which is busted right now) even though it follows the common flake pattern, another entry in the todo list | 04:13:06 | |
| In this case, probably not, but you can always do the manual way of connecting wifi and ssh'ing in | 04:14:22 | |
| Prior to nixos-anywhere I was using this script: https://gist.github.com/zhaofengli/e986fa7688d6c16872b86c6ae6215c9b | 04:15:43 | |
| * You don't need to manually make the overlay. You can either use Another useful command is | 04:17:26 | |
| gotcha. but im trying to run with the target laptop connected to ethernet (which i verified with
| 06:52:04 | |
| * gotcha. but im trying to run with the target laptop connected to ethernet (which i verified with
| 06:52:17 | |
| * gotcha. but now im trying to run with the target laptop connected to ethernet (which i verified with
| 06:52:29 | |
| so im really confused if theres something up with my configuration | 06:52:44 | |
In reply to @zsuper:matrix.orgfory raspberries I created a custom boot image on a usb stick that includes my wifi credentials. I boot that image to and run nixos-anywhere without kexec-ing. that works reliable w/ wifi only systems | 11:02:35 | |
| and disko will still take care of formatting for you right? because thats the main part about minimal installers that im still uncomfortable with | 15:21:00 | |
i did figure out why this was happening though; turns out thinkpad was being resolved to a tailnet address due to the target machine being registered with tailscale | 15:21:44 | |
| ethernet installation was able to work, though i still did get port connection errors due to the IP address of the target machine being reassigned | 15:22:11 | |
| * after resolving this, ethernet installation was able to work, though i still did get port connection errors due to the IP address of the target machine being reassigned | 15:23:40 | |
| Thank you for the help! I'll try it out today, maybe I can open a PR too for the docs | 15:52:43 | |
| Ah, colmena.cli.rs is back! | 15:53:14 | |
In reply to @zsuper:matrix.orgyes. you can force this using nixos-anywheres --phases parameter. also rly helpful for testing 👍 | 18:46:43 | |
| 5 Aug 2025 | ||
| 03:58:54 | ||
| 03:58:56 | ||
| 6 Aug 2025 | ||
| Redacted or Malformed Event | 14:38:37 | |
actually yeah, im wondering the same thing. im using deploy-rs right now, but i like that colmena directly exposes the nixosConfigurations so i can debug them, unlike deploy-rs. however, i do really like the canary feature of deploy-rs, where it will magic rollback if the target becomes unreachable | 18:25:27 | |
* actually yeah, im wondering the same thing. im using deploy-rs right now, but i like that colmena directly exposes the nixosConfigurations so i can debug them, unlike deploy-rs. however, i do really like the canary feature of deploy-rs, where it will magic rollback if the target becomes unreachable. does colmena have something similar? | 18:25:40 | |