Sender | Message | Time |
---|---|---|
21 Jun 2022 | ||
Tim | you can also check out agenix, it is basically sops-nix but with age and I am happily using it, not with colmena yet though.. it is dead simple especially when using the system ssh keys in /etc/ssh/ | 06:27:34 |
lemmalamma | In reply to @tiha889a:tu-dresden.deI made sops-nix work for me after a bit of wrangling. | 10:11:35 |
dantefromhell | i'm wondering: is there a collection/ examples of how people use colmena? | 12:35:50 |
dantefromhell | I'm using the colmena from git (commit 9db25bd) with flakes. I'm struggling to understand how to define a hive w/ 2 systems where one is using | 14:59:43 |
Jane Jasperous |
| 15:02:05 |
dantefromhell | In reply to @janejasperous:one.ems.hostThx, yes that works! | 15:30:30 |
dantefromhell | Until I change the
| 15:32:02 |
CRTified | In reply to @dantefromhell:matrix.orgEither use deploy.buildOnTarget , enable qemu binfmt emulation or try and get it running using pkgsCross for true cross compilation | 15:33:22 |
CRTified | The problem is that you're running on x86_64 and nix doesn't know where/how to build aarch64-linux at the current state of your config | 15:34:02 |
dantefromhell | In reply to @schnecfk:ruhr-uni-bochum.de Thx, worked. For anyone interested, my solution was to add
to | 18:56:49 |
CRTified | In reply to @dantefromhell:matrix.orgNote that this method can be hit or miss. I've regularly had some minor problems with it, e.g. tests failing due to some qemu error | 22:22:00 |
jhillyerd | I've had a lot of builds lock up with no progress until I kill them w/ qemu aarch64 emulated system. | 23:24:41 |
22 Jun 2022 | ||
lemmalamma | Colmena is working well for me after I had trouble using nixops. I'm just curious: why are there so many nix-based deployment/config management tools? AFAIK nixops is the OG one. (I understand Colmena doesn't provision resource like nixops) Is there some history here? | 03:59:09 |
Buckley | Nixops is the older one, but itβs not stateless. Nixos people like stateless solutions, so a few third party ones popped up. Mainly morph, deploy-rs, and colmena | 04:20:32 |
Jane Jasperous | In reply to @huyage:matrix.orgnixops is maybe more in terraform league | 09:46:31 |
CRTified | In reply to @huyage:matrix.org To add on the answer by Buckley (Which answers why so many alternatives to NixOps appeared), it's also because it's somewhat easy to build such a tool based on nix. Being a bit handwavy here, but it generally boils down to some combination of The deployment tools nonetheless offer a big plus, the more obvious ones would be secret management and the generally better user experience. | 11:15:00 |
Linux Hackerman | In reply to @janejasperous:one.ems.hostI'd lean towards using terraform over using nixops when the use case is there though | 11:42:55 |
hexa | because one of these two is actually maintained π | 13:17:22 |
Linux Hackerman | also because nixops tries to do like 2% of the things that terraform covers and doesn't do as good of a job at it | 13:19:40 |
jhillyerd | In reply to @schnecfk:ruhr-uni-bochum.deIt's easy enough to deploy without a tool, I migrated from NixOps to flakes intending to then migrate to Colmena, but still haven't bothered. π NixOps too ambitious with a refactoring effort 1.7 - 1.8/2.0, left things in a broken state for a long time, leaving a multi-year window for other tools to pop up. | 20:27:47 |
jhillyerd | I was really hoping NixOps + KVM would have given me a self-hosted cloud experience in my homelab, but gave up waiting. | 20:29:02 |
jhillyerd | * I was really hoping NixOps + libvirt/KVM would have given me a self-hosted cloud experience in my homelab, but gave up waiting. | 20:29:37 |
23 Jun 2022 | ||
dantefromhell | I was reading on github a bit about bootstrapping w/ colmena and the general answer was "no - because it requires state tracking". I was pondering if the approach to introduce a `colmena bootstrap` action to isolate bootstrapping from applying would remove the need for tracking state? | 12:23:35 |
CRTified | In reply to @dantefromhell:matrix.orgI'm not really helpful here, but just for clarification: Are you referring to these PRs? https://github.com/zhaofengli/colmena/issues/42 and https://github.com/zhaofengli/colmena/issues/68 | 12:52:24 |
CRTified | In reply to @dantefromhell:matrix.org* I'm not really helpful here, but just for clarification: Are you referring to these Issues? https://github.com/zhaofengli/colmena/issues/42 and https://github.com/zhaofengli/colmena/issues/68 | 12:52:33 |
David Arnold (blaggacao) | Note that provisioning and bootstrapping are two separate concerns. | 14:23:34 |
David Arnold (blaggacao) | Bootstrapping doesn't require tracking state. It only requires a static contract of the (yet) anonymous node. | 14:24:16 |
David Arnold (blaggacao) | * Bootstrapping doesn't require tracking state. It only requires a stable contract of the (yet) anonymous node. | 14:24:30 |
David Arnold (blaggacao) | How to reach it? And does it comply to any sort of colmena-nixos interface? | 14:25:43 |
lemmalamma | In reply to @schnecfk:ruhr-uni-bochum.deI've also successfully used Pulumi instead of Terraform for provisioning and Colmena takes over after that. I still dream of a world where I can do both with Nix. | 18:34:34 |