!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
16 Aug 2023
@zhaofeng:zhaofeng.liZhaofeng LiQuickly looked, and it appears that the underlying problem may be https://github.com/NixOS/nix/issues/832905:14:50
@zhaofeng:zhaofeng.liZhaofeng LiI'll try to reproduce with nix-copy-closure on an older Nix version tomorrow. Should have looked earlier when I first encountered the problem myself 😐05:16:33
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name left the room.09:44:29
@lab-cat:ag-link.xyz@lab-cat:ag-link.xyz joined the room.10:02:58
@jeff:ocjtech.usJeff
In reply to @zhaofeng:zhaofeng.li
Quickly looked, and it appears that the underlying problem may be https://github.com/NixOS/nix/issues/8329
Looks like this is fixed in Nix 2.16 but that will take some time to roll out. A workaround would be a way to disable ControlMaster for Colmena/Nix connections but I don't know how you'd accomplish that.
14:47:49
17 Aug 2023
@void68:matrix.orgvoidso what to do in the meanwhile?13:16:36
@void68:matrix.orgvoidany ideas, in the master openssh is update but nix is still 2.1713:16:50
@void68:matrix.orgvoid
 nix_2_17 = common {                                                                                                                                                                                                                          
    version = "2.17.0";                                                                                                                                                                                                                        
    hash = "sha256-QMYAkdtU+g9HlZKtoJ+AI6TbWzzovKGnPZJHfZdclc8=";                                                                                                                                                                              
  };  
13:17:07
@void68:matrix.orgvoidmaybe I can manually add the balsoft patch to nix13:17:34
@void68:matrix.orgvoid * maybe I can manually apply the balsoft patch to nix13:22:28
@void68:matrix.orgvoid * any ideas, in the master openssh is updated but nix is still 2.1717:54:38
@jeff:ocjtech.usJeffif i get bored i'll probably change all my deployment.targetHost entries to add a unique prefix and the change my ssh config to add an entry to strip off the prefix and turn off the ControlMaster20:36:58
@jeff:ocjtech.usJeffa bit of a hack but i think that it should work20:37:10
18 Aug 2023
@sfkvso:matrix.org@sfkvso:matrix.org joined the room.13:19:54
@beect:matrix.org@beect:matrix.org left the room.13:55:48
@test-user:c.imperishable.namerendakuenthusiast⚡️ joined the room.20:06:14
@test-user:c.imperishable.namerendakuenthusiast⚡️is this matrix room deliberately not in the nix matrix space, or is my client messed up?20:07:15
@sumner:nevarro.space@sumner:nevarro.space
In reply to @test-user:c.imperishable.name
is this matrix room deliberately not in the nix matrix space, or is my client messed up?
are you in #community-rooms:nixos.org ?
20:35:08
@sumner:nevarro.space@sumner:nevarro.space
In reply to @test-user:c.imperishable.name
is this matrix room deliberately not in the nix matrix space, or is my client messed up?
* are you in the #community-rooms:nixos.org subspace ?
20:35:14
19 Aug 2023
@khalilsantana:matrix.org@khalilsantana:matrix.org joined the room.03:03:26
@khalilsantana:matrix.org@khalilsantana:matrix.org left the room.03:03:52
@khalilsantana:matrix.org@khalilsantana:matrix.org joined the room.03:04:13
@khalilsantana:matrix.org@khalilsantana:matrix.org Hi, is there a proper way to get colmena to nixos-rebuild --upgrade multiple hosts? I can use the exec sub-command but AFAIK that will build in every node, which seems wasteful 03:06:51
@whentze:matrix.orgWanja Hentzewait, are you using channels on the hosts?08:30:26
@khalilsantana:matrix.org@khalilsantana:matrix.orgDoesn't all nixos installs use channels? (I'm a newbie, so I just looked up at the manual on how to upgrade nixos and that was one of the ways listed)13:10:05
@whentze:matrix.orgWanja HentzeNo, I've never seen them used with colmena13:16:06
@whentze:matrix.orgWanja Hentzecolmena evaluates the entire configuration not on the hosts but on the deploying machine13:16:40
@whentze:matrix.orgWanja Hentzeyou would usually pin your nixpkgs revision etc. either via flakes or some other mechanism13:17:03
@whentze:matrix.orgWanja HentzeI think it might still work if you use <nixpkgs> somewhere but it would use the channels of the deploying host, not the deployed host13:17:51
@khalilsantana:matrix.org@khalilsantana:matrix.orgI'm not using flakes as of yet, trying to keep it as simple as possible so I can actually understand it13:17:53

Show newer messages


Back to Room ListRoom Version: 6