| 2 Nov 2025 |
ser(ial) | is there any option in colmena i could use to issue a command before colmena is doing ssh? i need to knock the server to open ssh | 14:04:26 |
| whispers (it/fae) changed their display name from whispers to whispers (it/fae). | 17:58:05 |
| 3 Nov 2025 |
dmoonfire | I use a Just file to do those things. | 04:10:27 |
| 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 |
| andi- joined the room. | 16:12:32 |
Zhaofeng Li | What does your hive.nix look like? | 17:09:20 |
necrophcodr | In reply to @zhaofeng:zhaofeng.li What does your hive.nix look like? Sorry for not replying earlier, but I don't have a hive.nix, just a flake.nix as follows:
{
description = "Flake for RPI 4 Lab Infrastructure";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";
devshell.url = "github:numtide/devshell";
flake-utils.url = "github:numtide/flake-utils";
colmena.url = "github:zhaofengli/colmena/v0.2.0";
colmena.inputs.utils.follows = "flake-utils";
home-manager.url = "github:nix-community/home-manager/release-21.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, devshell, flake-utils, colmena, home-manager }:
let
nativePkgs = import nixpkgs {
system = ( if builtins ? currentSystem then builtins.currentSystem else "x86_64-linux" );
};
in
{
colmena = {
meta.nixpkgs = nativePkgs;
pi = import ./pi4.nix;
specialArgs = {
inherit home-manager;
};
};
} // flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs { inherit system; overlays = [ devshell.overlay ]; };
in
{
devShell = pkgs.devshell.mkShell {
packages = with pkgs; [
colmena.defaultPackage.${system}
];
};
}
);
}
| 21:35:33 |
Zhaofeng Li | That confirms my suspicions in https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$YU9o4IlsSyfFcrRGby4AGBIvMLhMH0OPdWvEG4-5Qnk?via=nixos.org&via=matrix.org&via=tchncs.de | 21:36:44 |
Zhaofeng Li | Change specialArgs to meta.specialArgs | 21:36:53 |