Colmena | 298 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 102 Servers |
| Sender | Message | Time |
|---|---|---|
| 15 Apr 2025 | ||
| If I may, I could post my flake.nix | 18:36:29 | |
| * Hey there! The nixos-infect works quite nicely, thanks again!
Now when I try to apply to the aarch64-linux node from my aarch64-darwin using colnema (using deployment.buildOnTarget), it will somehow not "activate the profile".
I don't quite get what that means :-/
Any ideas? Maybe this is a noob-trap? If I run without "--reboot" then colmena will finish without errors, but none of my changes seems to get applied. | 18:40:57 | |
| * Hey there! The nixos-infect works quite nicely, thanks again!
Now when I try to apply to the aarch64-linux node from my aarch64-darwin using colnema (using deployment.buildOnTarget), it will somehow not "activate the profile".
I don't quite get what that means :-/ Any ideas? Maybe this is a noob-trap? If I run without "--reboot" then colmena will finish without errors, but none of my changes seems to get applied. | 18:41:30 | |
| Ah, I think I'm a step closer. After the apply, sshd gets killed on the remote. But if I try a command which I declared in colmena (using a console), it's available. However, after a reboot, everything is back to the state before colmena ran. Looks like the new profile is somehow not set as the active profile? | 18:57:42 | |
| Hm, is grub somehow hardcoded in colmena? Asking because I did my experiments with systemd-boot systems | 19:17:29 | |
| Ah, I think I did a mess with systemd-boot (on the system) vs. grub (in my flake) | 19:31:07 | |
| Did you use the hardware-config.nix from the system where you installed nix on? (With nixinfect) | 19:54:33 | |
| No, I didn‘t grasp that the colmena deployment process is entirely unrelated to the „nixos-rebuild approach. Now that makes sense. But it also means that I should somehow collect the /etc/nixos/configuration.nix plus imported files and base my colmenas input on that, no? Is there maybe a clever workflow to do that? Or is there a better approach? | 21:04:12 | |
| My goal would be to build a fully automated workflow which is agnostic to any pre-existing state/config | 21:09:14 | |
| 16 Apr 2025 | ||
| i can build this configuration with
… while evaluating the module argument `inputs' | 22:21:50 | |
| * i can build this nixos host configuration with
… while evaluating the module argument `inputs' | 22:22:00 | |
| 18 Apr 2025 | ||
| 18:03:45 | ||
| 19 Apr 2025 | ||
| 17:36:43 | ||
| 20 Apr 2025 | ||
| 20:22:14 | ||
| 21 Apr 2025 | ||
| 10:24:43 | ||
| 24 Apr 2025 | ||
| 16:37:36 | ||
| 25 Apr 2025 | ||
| 13:51:41 | ||
| Hi! I'm trying to evaluate the colmena hosts from a flake, but I'm running into some issues. My goal is to have a JSON with nodes & their configs. I tried to run `colmena eval -E "{ nodes, ... }: nodes --experimental-flake-eval`, but ran into issues since it's trying to serialize a function into JSON. I ran into https://github.com/zhaofengli/colmena/issues/43 which seems to indicate what I'm looking for is not possible, but I was wondering if anyone knew of a way. | 13:58:07 | |
| 13:58:48 | ||
| 28 Apr 2025 | ||
| 14:58:38 | ||
| 29 Apr 2025 | ||
| 23:39:49 | ||
| 1 May 2025 | ||
| 20:08:59 | ||
| 5 May 2025 | ||
| 07:41:07 | ||
| 16:20:09 | ||
| 7 May 2025 | ||
| 15:12:00 | ||
| 8 May 2025 | ||
| Hey folks, Does anybody have a nice example of how to organize a repo with code for both initialising new host (e.g. with nixos-anywhere) and provisioning with colmena afterwards? | 17:28:02 | |
| 20:11:37 | ||
In reply to @ixxie:matrix.orgI built mine with terranix and divnix/hive. Might be slightly over engineered but I have a need for maintaining multiple environments at once. so the overengineering helps 🤣 | 20:53:40 | |
| 10 May 2025 | ||
| Redacted or Malformed Event | 09:07:29 | |
In reply to @ixxie:matrix.orgThe simple way is: have a "blank" nixosConfiguration in your flake that contains a simplified basic installation, run nixos-anywhere, then deploy as a specific host via colmena | 11:00:49 | |