| 30 May 2022 |
David Arnold (blaggacao) | To clarify, I don't think somebody implied to drop classical nix support. The suggestion had been to untangle the code path for maintainability. The custom eval I posted quite clearly shows what that can mean. | 14:19:54 |
David Arnold (blaggacao) | * To clarify, I don't think somebody implied to drop classical `nix` support. The suggestion had been to untangle the code path for maintainability. The custom eval I posted quite clearly shows what that can mean in practice. | 14:20:14 |
David Arnold (blaggacao) | I have the impression, that actually the untangling would be probably contained to src/nix/hive as the nix eval interface of colmena. | 14:24:37 |
David Arnold (blaggacao) | * I have the impression, that actually the untangling would be contained to `src/nix/hive` as the `nix` eval interface of colmena. | 14:24:49 |
| 1 Jun 2022 |
| @tiha889a:tu-dresden.de joined the room. | 13:17:26 |
| 3 Jun 2022 |
| tpw_rules joined the room. | 03:50:51 |
tpw_rules | hi, i was wondering if there were public examples of real colmena deployments anyone wanted to share. how do you handle the stuff that would ordinarily go in hardware-configuration.nix, i.e. usually partitioning? | 03:51:28 |
tpw_rules | i've been doing research in preparation to write my own deployment tool which is designed for offline hosts | 03:52:16 |
Buckley | i put my partitions right in the normal configuration | 03:52:39 |
tpw_rules | do you specify them by ID still? | 03:52:50 |
tpw_rules | or just sda1 etc? | 03:52:55 |
Buckley | i generally use UUIDs unless i am reasonably sure the machine will only ever have one disk attached to it. eg, VMs | 03:53:26 |
tpw_rules | what do you do if you need to reformat the machine? just update the config's uuids? | 03:53:43 |
Buckley | yep | 03:53:51 |
tpw_rules | simple enough | 03:53:58 |
Buckley | if you dont like either one of those, partlabels also exist | 03:54:02 |
tpw_rules | that is true | 03:54:27 |
Buckley | also, /dev/disk/by-id/ stays consistent across reinstalls | 03:54:46 |
tpw_rules | also, it looks like colmena just wraps nix command line tools, there's no API or database munging | 03:55:01 |
Buckley | no database, right | 03:55:41 |
Buckley | and yeah it just sort of sits on top of the existing nix toolset | 03:56:27 |
tpw_rules | what does colmena mean by "hive"? | 03:56:59 |
Buckley | a hive is a large config containing all your server configs | 03:57:24 |
Buckley | it can just be a single file that imports a bunch of individual server configs if that's what you like | 03:57:46 |
Buckley | i actually have a flake with my hosts configured in the standard flakes way, and then a couple very small shims that connect that to colmena | 03:58:24 |
tpw_rules | ahh i see | 03:58:30 |
tpw_rules | it looks like colmena has a custom flakes output name, is that kosher-ish? | 03:58:42 |
Buckley | like how nix flake check says that colmena is an unknown output? | 03:59:51 |
tpw_rules | i guess | 04:00:25 |
Buckley | you can have non-standard flake outputs, and that's fine, as long as they don't collide with any official output names in the future | 04:01:19 |