!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
27 Apr 2024
@bonus:bonusplay.plBonusoption #1: you can nix the application inside the docker container option #2: run a docker container via virtualisation.oci-containers.containers22:22:27
@bonus:bonusplay.plBonus * option #1: you can nix the application inside the docker container
option #2: run a docker container via virtualisation.oci-containers.containers
22:22:33
@sylex-matrix:matrix.orgsylex-matrixwait22:22:44
@sylex-matrix:matrix.orgsylex-matrixdocker was just an example22:22:47
@sylex-matrix:matrix.orgsylex-matrixmaybe I phrased my problem wrong22:22:54
@sylex-matrix:matrix.orgsylex-matrixthe thing is, how do I tell colmena to execute some actions after the machine has been deployed?22:23:18
@sylex-matrix:matrix.orgsylex-matrix maybe its just running
git clone x
cd blah blah
./run.sh
22:23:37
@sylex-matrix:matrix.orgsylex-matrixkind of like the RUNs of a dockerfile22:23:47
@bonus:bonusplay.plBonusin theory you shouldn't since it's not "THE NIX WAY"22:23:53
@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

Show newer messages


Back to Room ListRoom Version: 6