!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
19 Aug 2023
@zhaofeng:zhaofeng.liZhaofeng Li The core thing is that system profiles themselves are packages as well and follow the same rules. In other words, when you deploy, you always apply the whole coherent configuration and there's no way to not to fetch upgrades depending on what the host currently has 19:55:35
@zhaofeng:zhaofeng.liZhaofeng Li * The core thing is that system profiles themselves are packages as well and follow the same rules. In other words, when you deploy, you always apply the whole coherent configuration and there's no way to not fetch upgrades depending on what the host currently has 19:55:48
@zhaofeng:zhaofeng.liZhaofeng LiThe older versions of packages are still there in the store, just "dormant" until you garbage collect them19:56:37
@whentze:matrix.orgWanja Hentzealso, I recommend puttinf something like this in your colmena config for all hosts ```nix environment.etc."nixos/configuration.nix".text = '' throw "sorry, no nixos-rebuild, use colmena" ''; ```20:07:50
@whentze:matrix.orgWanja Hentze* also, I recommend puttinf something like this in your colmena config for all hosts ``` environment.etc."nixos/configuration.nix".text = '' throw "sorry, no nixos-rebuild, use colmena" ''; ```20:08:08
@whentze:matrix.orgWanja Hentzehmm no formating? okay then element20:08:18
@zhaofeng:zhaofeng.liZhaofeng LiEledroid requires enabling in the settings, if you are using that20:12:12
@whentze:matrix.orgWanja Hentzeoooh nice thanks20:13:48
@whentze:matrix.orgWanja Hentze* also, I recommend puttinf something like this in your colmena config for all hosts ``` environment.etc."nixos/configuration.nix".text = '' throw "sorry, no nixos-rebuild, use colmena" ''; ```20:13:55
@whentze:matrix.orgWanja Hentze* also, I recommend putting something like this in your colmena config for all hosts environment.etc."nixos/configuration.nix".text = '' throw "sorry, no nixos-rebuild, use colmena" ''; 20:14:23
@whentze:matrix.orgWanja Hentze* also, I recommend putting something like this in your colmena config for all hosts ```nix environment.etc."nixos/configuration.nix".text = '' throw "sorry, no nixos-rebuild, use colmena" ''; ```20:14:34
@whentze:matrix.orgWanja Hentzeanyway that makes it so you don't accidentally keep using nixos-rebuild on your hosts and clobber the colmena-defined config20:15:19
20 Aug 2023
@test-user:c.imperishable.namerendakuenthusiast⚡️
In reply to @sumner:nevarro.space
are you in the #community-rooms:nixos.org subspace ?
oh apparently not
07:59:17
@test-user:c.imperishable.namerendakuenthusiast⚡️is there a way I can have colmena not use every single core on my local machine when deploying, so I can still use my machine for other things while it's happening in the background?08:00:17
@test-user:c.imperishable.namerendakuenthusiast⚡️I'm not sure if this is a colmena setting or a general nix setting08:00:26
21 Aug 2023
@lab-cat:ag-link.xyz@lab-cat:ag-link.xyzI don't know of a colmena-specific solution to this, but take a look at NIX_BUILD_CORES and nix.maxjobs 06:53:04
23 Aug 2023
@sfkvso:matrix.org@sfkvso:matrix.org left the room.08:49:48
25 Aug 2023
@ibizaman:matrix.orgibizaman set a profile picture.16:18:48
27 Aug 2023
@obsidianical:matrix.org@obsidianical:matrix.org left the room.15:53:57
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.host@janejasperous:one.ems.host 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.host@janejasperous:one.ems.host 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

Show newer messages


Back to Room ListRoom Version: 6