!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

You have reached the beginning of time (for this room).


SenderMessageTime
18 Sep 2022
@palo:xaos.space@palo:xaos.space

https://colmena.cli.rs/unstable/reference/meta.html#specialargs and https://github.com/nix-community/nixos-generators/blob/master/flake.nix#L29

07:32:35
@palo:xaos.space@palo:xaos.space
In reply to @farcaller:matrix.org
In reply to @palo:xaos.space

I would use the specialArgs parameter to pass datadir. You can use the same configuration if you use a let block and define it as variable or something.

yeah, that's what I do in the generator config. I don’t think I can do the same with colmena, though

Yes you can :D

07:32:49
@farcaller:matrix.orgfarcaller
In reply to @yuka:yuka.dev
Probably lib.functionArgs is used on this function somewhere
that's the conclusion I came to in the end. Nix is very non-trivial to debug sometimes :(
07:33:13
@farcaller:matrix.orgfarcaller
In reply to @palo:xaos.space

https://colmena.cli.rs/unstable/reference/meta.html#specialargs and https://github.com/nix-community/nixos-generators/blob/master/flake.nix#L29

whelp, someone didn’t RTFM to the end. Thanks!
07:33:44

Show newer messages


Back to Room ListRoom Version: 6