Colmena | 300 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 104 Servers |
| Sender | Message | Time |
|---|---|---|
| 31 Jan 2022 | ||
| [zhaofengli/colmena] zhaofengli closed issue #50: Nixpkgs fails to build on unstable | 19:34:49 | |
| 1 Feb 2022 | ||
[zhaofengli/colmena] lheckemann opened
issue
#52: Excessive output when terminal isn't tall enough
| 07:28:06 | |
[zhaofengli/colmena] lheckemann opened
issue
#53: Cannot deploy to a host without internet
| 20:08:07 | |
| 3 Feb 2022 | ||
| 00:13:20 | ||
| Is there a specific reason on why colmena diverges from the "standard" flake output schema? (For reference: https://nixos.wiki/wiki/Flakes#Output_schema ) | 02:06:21 | |
| * Is there a specific reason for why colmena diverges from the "standard" flake output schema? (For reference: https://nixos.wiki/wiki/Flakes#Output_schema ) | 02:07:27 | |
| because colmena was created before flakes were stable | 02:07:42 | |
| (if i had to guess) | 02:07:49 | |
| colmena just got flakes support in June | 02:08:44 | |
In reply to @buckley310:matrix.orgAt least the flakes series on tweag is older than the first commit of colmena and documents the output schema in a similar way | 02:10:20 | |
| I am asking because I'm trying to move my config to flakes and have a hard time with home-manager+NUR. At the same time, I can't really use other people's flake configurations as it's not properly (?) using flakes (this here is in theory exactly what I need, but I can't apply it: https://discourse.nixos.org/t/importing-nur-home-manager-modules-in-nix-flakes/16457/2 ) | 02:12:02 | |
| * I am asking because I'm trying to move my config to flakes and have a hard time with home-manager+NUR. At the same time, I can't really use other people's flake configurations as it's not properly (?) using flakes (this here is in theory exactly what I need down to the module I want to import, but I can't apply it: https://discourse.nixos.org/t/importing-nur-home-manager-modules-in-nix-flakes/16457/2 ) | 02:12:24 | |
In reply to @buckley310:matrix.orgsee also | 02:12:29 | |
| Matrix won't show the reply, but the raw message (View source) is readable. I'll dig it up in the history | 02:13:59 | |
| tldr, my hosts are in nixosConfigurations, and my colmena output just translates that | 02:15:19 | |
| because i already had a flake with my servers 🤔 | 02:15:31 | |
| Found it | 02:15:34 | |
| It looks perfect for me, as I also want another possible flake output (to generate sd images for my SBCs with the same config) | 02:16:16 | |
| Thanks, that's really useful 🙂 | 02:16:22 | |
In reply to @schnecfk:ruhr-uni-bochum.deIt's because Colmena needs to inject its own modules for deployment.* options as well as module arguments (nodes, name). This is also consistent with the way NixOps implements its flakes support (outputs.nixopsConfigurations). | 02:16:35 | |
| It also provides a clear upgrade path for users using legacy hive.nix to flakes | 02:17:13 | |
| Oh, that explains a lot. In that case, it might be great to document the shim-method that Buckley posted, as it should give "the best of both worlds" | 02:17:50 | |
| there has actually been an update since then as well, i have a custom module to store my deployment options, but you dont actually need that anymore, as the colmena flake exposes its modules as an output now | 02:18:27 | |
In reply to @zhaofeng:zhaofeng.li Also regarding upgrading to flakes, note that Colmena can auto-call if
and importing it like | 02:27:38 | |
If the current directory contains both flake.nix and hive.nix, then flake.nix is always preferred | 02:28:12 | |
* If the current directory contains both flake.nix and hive.nix, then flake.nix is always preferred if you don't specify a config file explicitly | 02:29:39 | |
| That iirc fails as I previously imported channels directly all over the place 😅 So my goal is indeed to have a flake config without such a transition configuration | 02:33:48 | |
| 03:46:59 | ||
In reply to @phaer:matrix.orgno exactly, | 14:27:34 | |
| 14:28:23 | |