!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
10 Jul 2023
@julian:nekover.se@julian:nekover.se Hi, why is StrictHostKeyChecking=accept-new enabled per default and is there an option to disable it? 01:28:01
@julian:nekover.se@julian:nekover.seAlso I'm not sure, if it's great to that option enabled per default. While it's certainly fine for most use cases - depending on where your remote hosts are and what your threat model is - I think such an option should be opt in and not opt out. I certainly wouldn't expect software to auto-accept remote SSH keys for me, so I was also kinda bamboozled finding out colmena did.01:44:40
11 Jul 2023
@beect:matrix.org@beect:matrix.org joined the room.10:52:41
12 Jul 2023
@aktaboot:tchncs.de@aktaboot:tchncs.de joined the room.22:21:10
@aktaboot:tchncs.de@aktaboot:tchncs.dehello, Is it possible to (re)use lib.nixosSystem definitions with colmena directly ?22:22:39
@aktaboot:tchncs.de@aktaboot:tchncs.deSince I already have each host defined as a lib.nixosSystem attrset22:23:46
13 Jul 2023
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @julian:nekover.se
Hi, why is StrictHostKeyChecking=accept-new enabled per default and is there an option to disable it?

(oof, somehow missed the notification)

It's enabled by default since there isn't a good way to manually accept the keys when deploying to multiple hosts in parallel yet. There isn't an option to disable it right now, but perhaps it can be overridden by SSH_CONFIG_FILE (not sure - need to test)

02:31:05
@zhaofeng:zhaofeng.liZhaofeng LiI think it makes sense to have a flag to opt-out02:31:34
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @aktaboot:tchncs.de
hello,

Is it possible to (re)use lib.nixosSystem definitions with colmena directly ?
Not directly but there are multiple converters in https://github.com/zhaofengli/colmena/issues/60
02:33:26
@julian:nekover.se@julian:nekover.se

(oof, somehow missed the notification)

No worries!

 

It's enabled by default since there isn't a good way to manually accept the keys when deploying to multiple hosts in parallel yet. There isn't an option to disable it right now, but perhaps it can be overridden by SSH_CONFIG_FILE (not sure - need to test)

Ahh okay, that’s a fair reason. I guess it could still be made more clear tho, but whatever.

I might test that env var as well, since I also have some other use cases for different SSH configs.

If I knew Rust, I would also just attempt to work on an option for configuring Colmena SSH, but sadly I don’t. However in the end I can still easily enough patch Colmena to get it to do what I need.

06:43:38
@aktaboot:tchncs.de@aktaboot:tchncs.de changed their profile picture.06:56:37
@linus:schreibt.jetzt@linus:schreibt.jetztIs there a matrix channel for attic?21:14:04
@hexa:lossy.networkhexa (he found #nixos-selfhosted-binary-cache:matrix.org btw) 23:16:33
14 Jul 2023
@lehmanator:gnulinux.club@lehmanator:gnulinux.club joined the room.18:42:10
16 Jul 2023
@shyim:matrix.orgShyimHow do I get the complete log when a apply fails? 10:23:14
@hexa:lossy.networkhexacolmena -v?11:20:33
@hexa:lossy.networkhexa * colmena build -v?11:21:01
@huyage:matrix.orglemmalamma set a profile picture.20:36:39
20 Jul 2023
@fpletz:lodere.esfpletz changed their profile picture.03:30:26
@cathalmullan:matrix.org@cathalmullan:matrix.org joined the room.14:33:00
21 Jul 2023
@huyage:matrix.orglemmalamma

Hey folks! Happy Friday. Colmena's README says it's:

a thin wrapper over Nix commands like nix-instantiate and nix-copy-closure
What does the manual process with nix-instantiate and nix-copy-closure look like? What else is Colmena automating for me?

22:16:12
@huyage:matrix.orglemmalamma *

Hey folks! Happy Friday. Colmena's README says it's:

a thin wrapper over Nix commands like nix-instantiate and nix-copy-closure

What does the manual process with nix-instantiate and nix-copy-closure look like? What else is Colmena automating for me?

22:16:17
@zhaofeng:zhaofeng.liZhaofeng Li It's basically nix-build '<nixpkgs/nixos>' --argstr configuration ..., nix-copy-closure --to root@remote /nix/store/...-nixos-system-remote and then running the activation script. In addition to those, Colmena provides a framework for accessing configurations of other nodes, out-of-band secrets deployment, and some other features 22:19:10
23 Jul 2023
@huyage:matrix.orglemmalamma
In reply to @zhaofeng:zhaofeng.li
It's basically nix-build '<nixpkgs/nixos>' --argstr configuration ..., nix-copy-closure --to root@remote /nix/store/...-nixos-system-remote and then running the activation script. In addition to those, Colmena provides a framework for accessing configurations of other nodes, out-of-band secrets deployment, and some other features
Thanks! I asked because I want to try to hand-deploy a few times so I can understand what's involved.
03:10:41
@purepani:matrix.orgpurepani joined the room.03:23:27
26 Jul 2023
@janik0:matrix.orgJanik (they/them) changed their display name from Janik (they/them) (es/ihr) to Janik (they/them).18:20:10
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.03:03:44
3 Aug 2023
@silvio:booq.org@silvio:booq.org left the room.16:20:31
4 Aug 2023
@raitobezarius:matrix.orgraitobezariushow do we build locally with colmena?00:03:34
@raitobezarius:matrix.orgraitobezariusI'm trying00:03:35

Show newer messages


Back to Room ListRoom Version: 6