Colmena | 311 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 110 Servers |
| Sender | Message | Time |
|---|---|---|
| 22 Feb 2022 | ||
In reply to @n0emis:noemis.meIn the end, you "just" need to evaluate the configuration and get the derivation at the attribute path config.system.build.vm from that evaluation 🙂 | 15:45:21 | |
| As far as I can tell, it's easier with flakes if you use a helper function as I've documented here: https://github.com/zhaofengli/colmena/issues/60#issuecomment-1047199551 | 15:46:11 | |
If you do so, you can access the evaluated configuration within the packages output of the flake - for example, you can reference self.nixosConfigurations.HOSTNAME.config.system.build.vm and add it to the packages attrset | 15:47:10 | |
* If you do so, you can access the evaluated configuration within the packages output of the flake - for example, you can reference self.nixosConfigurations.HOSTNAME.config.system.build.vm and add it to the packages attrset (I'm doing something similar to build aarch64 sd-images) | 15:47:36 | |
| For non-flakes configs, you could just eval-config and get that attribute out of the result, check https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/eval-config.nix for that. But that's probably a bit out of scope for the colmena channel, as it only relies on nixpkgs 🙂 | 15:56:08 | |
| 23 Feb 2022 | ||
[zhaofengli/colmena] utsl42 opened
issue
#61: override deployment.targetUser in CLI
| 19:42:46 | |
| 2 Mar 2022 | ||
| 13:09:06 | ||
| 13:09:24 | ||
| 6 Mar 2022 | ||
there's no way to parallelize/improve the efficiency of the copying path ... to ... stage when using buildOnTarget, right? | 18:42:57 | |
| upgrading unstable for the first time in over a month and these node.js deps are killing me 😅 | 18:44:15 | |
| oh i guess my pam mass rebuild situation didn't make things any better, heh... | 18:45:53 | |
| surprised this machine hasn't oom'd yet | 18:46:05 | |
| very surprised | 18:46:37 | |
| guess colmena buildOnTarget is more efficient than nixos-rebuild 😓 | 18:46:58 | |
| 7 Mar 2022 | ||
| so i use why would it be trying to run nix? and is it trying to do it on the remote machine which is probably down by the time it tries to run it...? | 03:17:21 | |
In reply to @winterqt:nixos.devOh right, I should change the error message from "Nix exited with error code" to "Child process exited with error code." It's misleading in this case. | 04:04:25 | |
In reply to @zhaofeng:zhaofeng.liwould the child process be ssh in this case? | 04:33:35 | |
In reply to @winterqt:nixos.devYeah, I presume it was because of the remote host disconnecting. I should really add a --reboot feature so there is no need to do a colmena exec after activation | 04:35:48 | |
[zhaofengli/colmena] tv42 opened
issue
#62: nix-eval-jobs patch causes build failure with nixos-21.11 nixpkgs
| 19:25:32 | |
| 8 Mar 2022 | ||
| [zhaofengli/colmena] Repo forked into glenn-m/colmena | 04:04:03 | |
[zhaofengli/colmena] glenn-m opened
pull request
#63: apply_local: Fix nixos detection from os-release
| 04:23:28 | |
| [zhaofengli/colmena] zhaofengli merged pull request #63: apply_local: Fix nixos detection from os-release | 04:52:24 | |
| unstable manual is 404ing 😕 was it moved to 0.3 (instead of unstable)? | 13:07:28 | |
| 16:16:17 | ||
In reply to @winterqt:nixos.devOops, my bad. I added linkcheck as an additional mdbook output, and that changed the directory structure. I just pushed the fix and it should be live soon. Thanks for the heads up! | 18:29:15 | |
| [zhaofengli/colmena] zhaofengli published v0.2.2: v0.2.2 - Fix `apply-local` on nixos-unstable | 19:09:12 | |
| 11 Mar 2022 | ||
[zhaofengli/colmena] scvalex opened
issue
#64: Add plan/diff command
| 11:28:18 | |
| 20:08:50 | ||
| 13 Mar 2022 | ||
Does Colmena eval all nodes even when doing --on ...? | 03:02:17 | |
| I ask since it's throwing an error in a configuration for a host that I didn't specify -- it doesn't try to deploy to it, though. | 03:03:18 | |