!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
13 Nov 2023
@SpindleyQ:matrix.orgSpindleyQ ... nope, nixpkgs was just undefined, and that's apparently the error you get. great. 18:43:05
@SpindleyQ:matrix.orgSpindleyQ OK, yes, it looks like the whole time, the error was triggering because I was passing things other than valid paths to imports. There were two that I modified when rewriting to use flakes - the qemu-guest.nix one (which was originally <nixpkgs/nixos/modules/profiles/qemu-guest.nix>, but I forget to add nixpkgs to specialArgs), and another one, where I thought I could pass a function directly if I had it. But I don't think that works. 19:00:55
@SpindleyQ:matrix.orgSpindleyQ And I guess I should be using modulesPath rather than passing in nixpkgs in specialArgs. 19:01:12
14 Nov 2023
@SpindleyQ:matrix.orgSpindleyQ not to continue talking to myself, but I think, based on my reading of loadModule in nixos, that you can, in fact, pass a module directly in the imports = [] list and it should work, though the stacktrace gets more cryptic since there's no name associated with the module that it tries to load 01:20:35
@julian:nekover.se@julian:nekover.se changed their display name from Julian to June.02:19:30
15 Nov 2023
@test-user:c.imperishable.namerendakuenthusiast⚡️
In reply to @zhaofeng:zhaofeng.li
Could be the activation script waiting on systemd-networkd-wait-online or something
I discovered that the problem was that one machine out of six or so was hanging for a long time
06:29:40
@test-user:c.imperishable.namerendakuenthusiast⚡️and I had a script that runs colmena with the --verbose flag so I only saw debug messages from all the other machines06:30:04
@test-user:c.imperishable.namerendakuenthusiast⚡️if I removed teh --verbose it's obvious what was going on06:30:20
@v:meowy.tech@v:meowy.tech changed their display name from v​ to v​ivian.13:46:05
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.15:54:26
@grahamc:nixos.org@grahamc:nixos.org left the room.15:54:27
@qyliss:fairydust.space@qyliss:fairydust.space joined the room.17:31:47
@qyliss:fairydust.space@qyliss:fairydust.space left the room.17:50:37
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:02
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:02
@jannik:introverts.xyz@jannik:introverts.xyz joined the room.21:22:57
@eisfunke:eisfunke.comNicolas changed their profile picture.22:41:10
17 Nov 2023
@yuri:nekover.se@yuri:nekover.se changed their display name from yuri to fi (she/her).01:44:15
@jannik:introverts.xyz@jannik:introverts.xyz Hi, I'm pretty new to Colmena, and I want to use it to manage multiple hosts with different versions of nixpkgs. I have defined two nixpkgs urls in my flake's inputs, and can reference them in outputs.colmena.meta.nixpkgs. But I can't find a way to define this per-host. 10:52:51
18 Nov 2023
@danielsidhion:nixos.devdanielsidhion joined the room.04:05:31
@danielsidhion:nixos.devdanielsidhion changed their display name from Daniel Sidhion to danielsidhion.04:08:29
@ar:is-a.catari ❄ changed their display name from ar to ari ❄.16:09:05
19 Nov 2023
@zxgu:matrix.orgZXGU joined the room.11:01:28
20 Nov 2023
@ajs124:ajs124.deajs124 If I evaluate a system config and then evaluate it again right after, without any changes to its inputs (including self), shouldn't that benefit from flake eval caching? 18:08:05
23 Nov 2023
@hexa:lossy.networkhexahm, can I use nix-output-monitor with colmena?11:59:31
@ajs124:ajs124.deajs124there's an issue for that: https://github.com/zhaofengli/colmena/issues/12912:24:38
25 Nov 2023
@10leej:matrix.org@10leej:matrix.org joined the room.15:56:32
30 Nov 2023
@v:meowy.tech@v:meowy.tech left the room.22:47:06
1 Dec 2023
@mihtig:matrix.orgmihtig joined the room.09:40:53
@mihtig:matrix.orgmihtigHi all. Anyone here used nixos-infect on a host and colmena to deploy their nix config?09:41:34

Show newer messages


Back to Room ListRoom Version: 6