!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

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


SenderMessageTime
27 Apr 2024
@sylex-matrix:matrix.orgsylex-matrix what would be the nix way then? 22:24:09
@bonus:bonusplay.plBonus in practice: system.activationScripts 22:24:13
@sylex-matrix:matrix.orgsylex-matrix I've been struggling pretty hard to learn the nix way 22:24:19
@bonus:bonusplay.plBonuscolmena is just a wrapper for nix tools (copy closure via ssh, etc.)22:25:01
@bonus:bonusplay.plBonusyou want to execute something "after configuration switch" or "everytime you boot"22:27:02
@sylex-matrix:matrix.orgsylex-matrixyeah, pretty much22:27:23
@bonus:bonusplay.plBonus then try system.activationScripts 22:28:46
@sylex-matrix:matrix.orgsylex-matrixIf my project was managed by a flake22:30:03
@sylex-matrix:matrix.orgsylex-matrixwould activation scripts be the simplest approach too?22:30:18
@sylex-matrix:matrix.orgsylex-matrixlets say my project works by simply doing nix run22:30:35
@sylex-matrix:matrix.orgsylex-matrixso actiationScripts = "cd fun; nix run"?22:30:56
@bonus:bonusplay.plBonusI'm up to help you figure out stuff on private chat, we probably shouldn't send so many non-colmena related messages in this room22:31:58
28 Apr 2024
@samtan106:matrix.org@samtan106:matrix.org left the room.16:46:28
29 Apr 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:29:09
30 Apr 2024
@4censord:unfug.hs-furtwangen.de@4censord:unfug.hs-furtwangen.de left the room.08:03:35
@xondtx:matrix.orgondt joined the room.22:24:03
1 May 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:06:29
3 May 2024
@jeff:ocjtech.usJeffanyone using pulumi/colmena/nixos? starting to think about replacing opentofu/terraform...17:52:23
@dantefromhell:matrix.orgdantefromhell
In reply to @jeff:ocjtech.us
anyone using pulumi/colmena/nixos? starting to think about replacing opentofu/terraform...
not using it but I'm very curious why you're pondering this setup?
17:55:08
@jeff:ocjtech.usJeffmainly terraform/opentofu has been annoying me lately so i wanted to see if the grass was greener 😉 17:57:25
@jeff:ocjtech.usJeffWas hoping to get better integration between the two tools. I've got some Nix code to pull data from Terraform's state information but it's a pain to use.18:02:28
5 May 2024
@dmoonfire:matrix.orgdmoonfireSorry, I went from Pulumi to OpenTofu but not the reverse.16:31:48
@dantefromhell:matrix.orgdantefromhell
In reply to @jeff:ocjtech.us
Was hoping to get better integration between the two tools. I've got some Nix code to pull data from Terraform's state information but it's a pain to use.
do you consider terranix to painful to use?
17:12:17
@jeff:ocjtech.usJeffNever tried terranix, didn't know it was a thing until now.17:52:35
@dantefromhell:matrix.orgdantefromhell
In reply to @jeff:ocjtech.us
Never tried terranix, didn't know it was a thing until now.
I havent used the data blocks but the rest of my TF config is native nix
18:18:01
6 May 2024
@test-user:c.imperishable.namerendakuenthusiast⚡️ I often run into problems where I'm deploying to a remote machine, and colmena tells me something like Activating system profile and then hangs for many minutes 09:17:07
@test-user:c.imperishable.namerendakuenthusiast⚡️I am not sure how to get diagnostic information from the remote machine when this happens09:17:22

Show newer messages


Back to Room ListRoom Version: 6