Colmena | 290 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 99 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Jan 2022 | ||
| FWIW, I have not fully looked into the performance implications of doing it this way. Some quick testing indicated that there may be a slight penalty for doing it that way, since its sort of building the systems twice. | 22:29:08 | |
| my (non-scientific) test indicated that doing it this way takes 36 seconds to build, whereas doing it the "normal' colmena way takes 32 seconds | 22:30:09 | |
| small enough that I called it "good enough" and didnt really test further | 22:30:42 | |
The main problem with this is that you cannot take advantage of the name and nodes module arguments without breaking nixosConfigurations | 22:31:09 | |
there is that. although you can overlay nixosConfigurations and then you can call pkgs.nixosConfigurations.<node>.config.whatever | 22:32:46 | |
* there is that. although you can overlay nixosConfigurations and then you can call pkgs.nixosConfigurations.<node>.config.whatever from machine configs | 22:33:00 | |
| I'm just too used to being able to poke around my configs with a repl to give it up :) | 22:34:32 | |
In reply to @zhaofeng:zhaofeng.liMy setup is relatively simple so this is not an issue for me. | 22:34:49 | |
| I am trying out flake-utils-plus, but was struggling to workout how to integrate that with Colmena. | 22:39:51 | |
I was initially using deploy-rs, in which case it's dead simple. But it doesn't support buildOnTarget like Colmena. | 22:42:00 | |
| What we’re you trying to actually do with utils? | 23:05:20 | |
| 15 Jan 2022 | ||
I'm trying out using mkFlake from FUP to define my set of hosts. I'm taking advantage of hostDefaults, sharedOverlays in generating my system configurations. So I was trying to work out a clean way to use the output of mkFlake in colmena (or nixops or morph). | 00:05:45 | |
| After yet another nixops failure, I've tried colmena, but I'm stuck due to nix being killed?
how do I debug what's going on here | 09:29:33 | |
| I'm trying to build for aarch64-linux, on macOS. I do have a aarch64-linux builder in my machines file. | 09:32:30 | |
| 10:27:46 | ||
In reply to @angerman:matrix.orgInteresting, 11 is a segfault. What Nix version are you running? | 12:39:34 | |
| I’ll check in a bit. | 12:46:36 | |
| There is no way to see the raw nix commands Coleman is calling? | 12:47:02 | |
In reply to @angerman:matrix.org Not at the moment and I really should add a bunch of debug prints. You can manually evaluate from the repo with
| 12:53:51 | |
Zhaofeng Li: what I did try was -v2 but there seem to be no verbosity levels. | 13:34:24 | |
| If I run
I get
| 13:34:54 | |
| If I run it with the same pin I set in the meta.nixpkgs attribute I get the segfault. The pin is from 20.09 or so, so somewhat older. | 13:35:43 | |
| I'm not sure how that service.getty is getting in there though. | 13:36:07 | |