| 11 May 2026 |
| 1000101 joined the room. | 09:45:18 |
| 12 May 2026 |
| lennart joined the room. | 06:47:17 |
lennart | 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 | wanna move to a CI using comin soonish, that should solve it aswell. happy about any input :) | 07:10:48 |
Samuel | 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 | 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 | yep, you're right! gonna put that in one repo, solves that problem. thanks :) | 08:11:27 |
| Frey joined the room. | 11:14:42 |
| 2 Jan 2022 |
| Zhaofeng Li changed the history visibility to "world_readable" from "shared". | 01:39:32 |
| Matrix Traveler (bot) joined the room. | 01:47:03 |
| @grahamc:nixos.org joined the room. | 01:49:13 |
| Zhaofeng Lichanged room power levels. | 01:50:47 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 01:52:20 |
| NixOS Moderation Bot joined the room. | 01:52:21 |
| @grahamc:nixos.orgchanged room power levels. | 01:52:22 |
| Room Avatar Renderer. | 01:52:24 |
| hexa joined the room. | 03:18:38 |
| kraem joined the room. | 05:13:02 |
| [0x4A6F] joined the room. | 09:33:21 |
| 3 Jan 2022 |
| angerman joined the room. | 06:49:24 |
| 4 Jan 2022 |
| aanderse joined the room. | 22:16:50 |
| * aanderse waves 👋 | 22:18:54 |
| Buckley joined the room. | 22:21:48 |
Buckley | 👋 | 23:42:50 |
| 5 Jan 2022 |
| Reventlov joined the room. | 07:40:54 |
Reventlov | hello there | 07:51:20 |
| necrophcodr joined the room. | 15:54:38 |
necrophcodr | 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 | 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 | Any ideas on how I could debug that? | 15:57:46 |