!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

331 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena117 Servers

Load older messages


SenderMessageTime
28 May 2022
@blaggacao:matrix.orgDavid Arnold (blaggacao) Zhaofeng Li: I hope this PR is comparatively uncontroversial: https://github.com/zhaofengli/colmena/pull/89 -- it's pure (hopefully) side-effect free refactoring. 00:05:04
30 May 2022
@whentze:matrix.orgWanja HentzeStable Nix support is good for people migrating from nixops/morph if nothing else09:19:15
@whentze:matrix.orgWanja Hentze if this was dropped, migration would mean those would have to switch deployment tool and move to flakes mode in one swoop, there is no smooth incremental path 09:20:20
@whentze:matrix.orgWanja HentzeEven if you're a flake maximalist, I think there is merit in this. Declaring the existing stable way "legacy", not providing a smooth upgrade path and burning bridges is not how you get everyone to adopt it, that's how you get IPv6 :P10:03:47
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid 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.deTim joined the room.13:17:26
3 Jun 2022
@tpw_rules:matrix.orgtpw_rules joined the room.03:50:51
@tpw_rules:matrix.orgtpw_ruleshi, 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:matrix.orgtpw_rulesi've been doing research in preparation to write my own deployment tool which is designed for offline hosts03:52:16
@buckley310:matrix.orgBuckleyi put my partitions right in the normal configuration03:52:39
@tpw_rules:matrix.orgtpw_rulesdo you specify them by ID still?03:52:50
@tpw_rules:matrix.orgtpw_rulesor just sda1 etc?03:52:55
@buckley310:matrix.orgBuckleyi generally use UUIDs unless i am reasonably sure the machine will only ever have one disk attached to it. eg, VMs03:53:26
@tpw_rules:matrix.orgtpw_ruleswhat do you do if you need to reformat the machine? just update the config's uuids?03:53:43
@buckley310:matrix.orgBuckleyyep03:53:51
@tpw_rules:matrix.orgtpw_rulessimple enough03:53:58
@buckley310:matrix.orgBuckleyif you dont like either one of those, partlabels also exist03:54:02
@tpw_rules:matrix.orgtpw_rulesthat is true03:54:27
@buckley310:matrix.orgBuckley also, /dev/disk/by-id/ stays consistent across reinstalls 03:54:46
@tpw_rules:matrix.orgtpw_rulesalso, it looks like colmena just wraps nix command line tools, there's no API or database munging03:55:01
@buckley310:matrix.orgBuckleyno database, right03:55:41
@buckley310:matrix.orgBuckleyand yeah it just sort of sits on top of the existing nix toolset03:56:27
@tpw_rules:matrix.orgtpw_ruleswhat does colmena mean by "hive"?03:56:59
@buckley310:matrix.orgBuckley a hive is a large config containing all your server configs 03:57:24
@buckley310:matrix.orgBuckleyit can just be a single file that imports a bunch of individual server configs if that's what you like03:57:46
@buckley310:matrix.orgBuckleyi actually have a flake with my hosts configured in the standard flakes way, and then a couple very small shims that connect that to colmena03:58:24
@tpw_rules:matrix.orgtpw_rulesahh i see03:58:30

Show newer messages


Back to Room ListRoom Version: 6