!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
11 May 2026
@b1000101:matrix.org1000101 joined the room.09:45:18
12 May 2026
@lennart:0520.chlennart joined the room.06:47:17
@lennart:0520.chlennart

hi, thanks a lot for colmena. though I'm a long time NixOS user this is the first deployment tool I use. :)

we had the problem yesterday, that the separate repo containing secrets wasn't pulled before applying changes. thus old secrets were pushed.

how would you solve that? thinking about aliasing colmena to include some checks before actually running it but that seems hackish.

there are no pre-run hooks, right?

07:08:44
@lennart:0520.chlennartwanna move to a CI using comin soonish, that should solve it aswell. happy about any input :)07:10:48
@samuel:mnzn.devSamuel Have you considered not using a separate repo for the secrets? Secrets are part of the system configuration which can't function without them. So they need to be versioned together. 07:57:56
@samuel:mnzn.devSamuel Because instead of needing exactly one commit hash to reproduce a known configuration, you somehow need to keep a map between the commits of each repo. That just sounds like trouble. 08:00:08
@lennart:0520.chlennartyep, you're right! gonna put that in one repo, solves that problem. thanks :)08:11:27
@freylienalien:matrix.orgFrey joined the room.11:14:42
2 Jan 2022
@zhaofeng:zhaofeng.liZhaofeng Li changed the history visibility to "world_readable" from "shared".01:39:32
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.01:47:03
@grahamc:nixos.org@grahamc:nixos.org joined the room.01:49:13
@zhaofeng:zhaofeng.liZhaofeng Lichanged room power levels.01:50:47
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgNixOS Moderation Bot.01:52:20
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.01:52:21
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.01:52:22
Room Avatar Renderer.01:52:24
@hexa:lossy.networkhexa joined the room.03:18:38
@kraem:ne.bul.aekraem joined the room.05:13:02
@0x4a6f:matrix.org[0x4A6F] joined the room.09:33:21
3 Jan 2022
@angerman:matrix.organgerman joined the room.06:49:24
4 Jan 2022
@aanderse:nixos.devaanderse joined the room.22:16:50
* @aanderse:nixos.devaanderse waves 👋22:18:54
@buckley310:matrix.orgBuckley joined the room.22:21:48
@buckley310:matrix.orgBuckley👋23:42:50
5 Jan 2022
@rgrunbla:matrix.orgReventlov joined the room.07:40:54
@rgrunbla:matrix.orgReventlovhello there07:51:20
@necrophcodr:matrix.orgnecrophcodr joined the room.15:54:38
@necrophcodr:matrix.orgnecrophcodr

I'm getting the following error on a simple deployment at the moment:

-> % colmena apply
[INFO ] Enumerating nodes...
error: infinite recursion encountered

       at /nix/store/y41rr1klzvwrmjs6smyl8kd1ipa5m5kj-source/lib/modules.nix:305:28:

          304|         builtins.addErrorContext (context name)
          305|           (args.${name} or config._module.args.${name})
             |                            ^
          306|       ) (lib.functionArgs f);
(use '--show-trace' to show detailed location information)
[ERROR] -----
[ERROR] Operation failed with error: Nix exited with error code: 1
15:55:24
@necrophcodr:matrix.orgnecrophcodr

NixOS config is

{ config, lib, pkgs, modulesPath, home-manager, ... }:
{
  deployment = {
    targetHost = "192.168.x.y";
    targetUser = "nixos";
    tags = [ "rpi" "lab" ];
  };

  imports = [
    (home-manager + "/nixos")
  ];
}
15:55:50
@necrophcodr:matrix.orgnecrophcodrAny ideas on how I could debug that?15:57:46

Show newer messages


Back to Room ListRoom Version: 6