!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
7 Nov 2025
@disco_stick:matrix.orgseaweed salad changed their display name from LARPing tech Simps like Hacker News users to seaweed salad.00:07:30
8 Nov 2025
@glyph:matrix.eno.spacezygohistomorphic glyphis there a good way to have colmena pick up on submodules when using flakes? decided to move my secrets management to a submodule but it has proven to be a huge pain22:49:15
@glyph:matrix.eno.spacezygohistomorphic glyph 'nix build' supports submodules via nix build .?submodules=1 so I tried passing '--nix-option submodules 1' but that doesn't help. 22:50:51
9 Nov 2025
@glyph:matrix.eno.spacezygohistomorphic glyphi ended up solving it by using flake-compat for the hive. couldn't get rid of flakes entirely since i rely on agenix-rekey13:30:54
14 Nov 2025
@florian.pester:cyberus-technology.deFlorian set a profile picture.18:41:01
17 Nov 2025
@leons:is.currently.onlineLeon joined the room.00:52:52
@leons:is.currently.onlineLeon Is there a way to avoid hard-coding any particular system architecture into a flake-based Colmena hive? I supply an explicit nodeNixpkgs override for every node (with system set to that node's particular architecture), but I still need to supply a value for colmena.meta.nixpkgs nonetheless. With pure flake eval, builtins.currentSystem is not available for that. Right now, I'm using some random value which I don't have binfmt setup for (powerpc64le-freebsd) to make sure that nothing actually depends on that value, but that feels more like a hack than anything else. 01:07:09
@leons:is.currently.onlineLeon I'm a little suprised that Colmena doesn't use the de-facto standard flake output format of colmenaHive.${system} = ... (which would solve that problem). Could also be helpful for writing flakes that use IFD to generate the hive attribute set and can be evaluated cross-platform. Is there any particular reason why it doesn't work like that? 01:10:27
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