!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
28 Aug 2023
@void68:matrix.orgvoidhow do I pass -j0 to colmena to disable local building?01:36:51
@void68:matrix.orgvoid * a question: how do I pass -j0 to colmena to disable local building?01:36:59
29 Aug 2023
@goodboy:matrix.orglord_fomo joined the room.17:54:25
1 Sep 2023
@janejasperous:one.ems.hostJane Jasperous I am trying to use colmena to provision cloud machines using terraform. I make it well right now using nixos-rebuils trough nixos-anywhere terraform modules but I need to deploy ssh keys out of band before nixos-rebuild. Is there a way to use colmena defining deployment options as targetHost from command line or env variables?? 07:47:57
@void68:matrix.orgvoid Jane Jasperous: did you look into agenix? 15:41:47
@void68:matrix.orgvoidcolmena has also an option to deploy keys.15:42:15
4 Sep 2023
@janejasperous:one.ems.hostJane Jasperous sure but targetHost is a moving target, so I need to pass it with modifiers or env variables 06:51:33
@ajs124:ajs124.deajs124 joined the room.22:26:04
@ajs124:ajs124.deajs124 22:53:16
6 Sep 2023
@lytedev:matrix.org@lytedev:matrix.org joined the room.00:40:46
@lytedev:matrix.org@lytedev:matrix.org hey, folks - I'm feeling pretty dumb and can't figure out where/how the configuration for the host goes in the colmena flake output - any pointers or docs or examples for my dumb brain? 00:41:56
@federicodschonborn:matrix.org@federicodschonborn:matrix.org joined the room.02:37:41
14 Sep 2023
@jlesquembre:matrix.orgjlesquembre changed their display name from José Luis Lafuente to jlesquembre.10:36:45
17 Sep 2023
@test-user:c.imperishable.namerendakuenthusiast⚡️
In reply to @lytedev:matrix.org
hey, folks - I'm feeling pretty dumb and can't figure out where/how the configuration for the host goes in the colmena flake output - any pointers or docs or examples for my dumb brain?
here's a somewhat-edited version of my own config: https://privatebin.net/?52786ff541369743#8bjfkQW278J7Gjvsf6ph35xQkxamraf3ZzFFtE4LunGW
08:04:31
@test-user:c.imperishable.namerendakuenthusiast⚡️ where I have host-a.imports = [ ./local/configuration.nix], that was basically the configuration.nix of that machine before I was using colmena + flakes 08:05:05
@lsbgkdlpqhswnccwnabaflt:matrix.orgsmrtak joined the room.18:33:22
@lsbgkdlpqhswnccwnabaflt:matrix.orgsmrtakRedacted or Malformed Event19:01:56
18 Sep 2023
@mutantmell:helveticastandard.com@mutantmell:helveticastandard.com left the room.01:05:39
@dantefromhell:matrix.orgdantefromhellRedacted or Malformed Event18:37:45
19 Sep 2023
@aanderse:nixos.devaanderse

question about the experimental streaming evaluator:

is there a specific reason --evaluator streaming can't be used with colmena eval?
i read the basic description of what nix-eval-jobs is and i don't see any reason why it couldn't be used with the colmena eval command
maybe just hasn't been implemented but it could?

i would appreciate any info on this 🙇‍♂️

12:10:29
@raitobezarius:matrix.orgraitobezariusIt can definitely be used as far as I imagine it13:49:01
@raitobezarius:matrix.orgraitobezariusBut what is the size of the deployment you are trying to use it for?13:49:12
@raitobezarius:matrix.orgraitobezariusIt won't work very efficiently, will it?13:49:20
@raitobezarius:matrix.orgraitobezariusExcept if your biggest annoyance is evaluating nixpkgs13:49:31
@aanderse:nixos.devaanderse

raitobezarius: when i evaluate some large things (like config.system.build.toplevel) with colmena eval it is very slow
when i run colmena apply (with streaming evaluator) it is very fast

i'd wager if i could run colmena eval with streaming evaluator it would also be fast

14:19:32
@raitobezarius:matrix.orgraitobezariusinteresting14:19:47
@raitobezarius:matrix.orgraitobezariusoh but yes14:19:50
@raitobezarius:matrix.orgraitobezariusthis is completely the usecase for the streaming evaluator14:19:56
@raitobezarius:matrix.orgraitobezariusBut the streaming evaluator may not know how to parallelize the deployment part14:20:20
@raitobezarius:matrix.orgraitobezariusBecause it's intertwined14:20:26

Show newer messages


Back to Room ListRoom Version: 6