Sender | Message | Time |
---|---|---|
17 Feb 2025 | ||
19:22:46 | ||
18 Feb 2025 | ||
13:02:08 | ||
19 Feb 2025 | ||
06:44:26 | ||
Redacted or Malformed Event | 06:45:07 | |
* It is not out of the question that I might be stupid…
| 06:45:25 | |
* It is not out of the question that I might be stupid… What gives?
| 06:45:35 | |
Any way to set custom attributes on my nodes, that I could then consume from the default config? | 12:53:52 | |
https://nixos.wiki/wiki/NixOS_modules | 12:56:22 | |
I'm not quite sure how to apply this here | 13:00:08 | |
doesn't work right? | 13:00:56 | |
ah, got it, thanks | 13:30:27 | |
14:49:23 | ||
18:13:40 | ||
Been stuck for a while with this error: https://gist.github.com/pcarrier/bc0173d20106cd178707f1955a1dafd8 | 19:19:35 | |
Any ideas would be much appreciated | 19:19:40 | |
Looks like you need enable = config.roles ? etcd; since on the non-etcd hosts, config.roles will be an attrset that does not contain an etcd key, so you can't get the value of that key. Another option would be to ensure that roles always contains every possible role, but set to false for the roles this host doesn't have. | 20:18:22 | |
well I thought I did exactly that through its default value | 20:19:22 | |
| 20:20:05 | |
that's OK, I'll switch to a single role per box | 20:22:35 | |
perfect :) | 20:37:06 | |
Redacted or Malformed Event | 20:43:00 | |
* I'm trying to make nix run .#deploy args... run the colmena version as imported, can't find how to access the binary to put in a pkgs.writeShellScriptBin though | 20:43:20 | |
Ah; the assignment overrides the default value instead of being merged with it, you need types.submodule with each role having its own default to do that. | 20:48:17 | |
From the cheap seats: Why not use an array of enum type? The kubernetes pkgs does it and makes it clean to check Roles = [ “bastion” “etc” ]; for example | 20:50:11 | |
maybe I should ask for what I'm actually after: how can I run colmena unstable? | 20:56:44 | |
* maybe I should ask for what I'm actually after: how can I run colmena unstable, ideally through instructions in my flake? | 21:02:01 | |
* maybe I should ask for what I'm actually after: how can I run colmena unstable, ideally through instructions in my flake? (I was hoping to expose a wrapper à la nix run .#c ) | 21:02:23 | |
| 21:08:47 | |
*
fails with:
| 21:09:14 | |
20 Feb 2025 | ||
This looks like the correct approach to me, but it seems that the build is broken with the versions you have pinned. Maybe nix flake update ? | 13:44:38 |