!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
18 Apr 2024
@mall0c:matrix.orgmall0c
In reply to @sntx:matrix.org
I just want to check with you, in case I misunderstood colmena.

Colmena is a tool to manage existing NixOS configurations. However it cannot create new NixOS installations.

Is that correct?
has anybody found a way to do what sntx is doing? I found something called "nixos-anywhere" but seems host or control machine also needs to be nixOS
00:52:06
@4censord:unfug.hs-furtwangen.de@4censord:unfug.hs-furtwangen.de

The least amount of (getting started) effort is just installing nixos by hand, and only then managing it with colmena.

To automate creation of new nixos hosts, either use some kind of template and something like OpenTofu (terraform), or something like nixos-infect with generic linux templates from your hosting provider

07:57:17
19 Apr 2024
@belak:matrix.org@belak:matrix.org left the room.19:52:35
23 Apr 2024
@shadow-knight101:matrix.orgamidamaru joined the room.01:48:02
@min:min.rip@min:min.rip joined the room.23:36:11
26 Apr 2024
@hansemschnokeloch:matrix.orghansemschnokeloch joined the room.06:07:10
@tim92:matrix.orgtim
In reply to @mall0c:matrix.org
has anybody found a way to do what sntx is doing? I found something called "nixos-anywhere" but seems host or control machine also needs to be nixOS
Nixos anywhere just requires ssh access and kexec on the to be provisioned host, but depending on where you want to create your machines it is just not worth the effort to do that declaratively
07:13:49
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad (she/they).23:47:44
@qyriad:katesiria.orgQyriad 23:47:57
27 Apr 2024
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad .00:01:06
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad.00:09:42
@pistache:systemli.orgpistache joined the room.13:27:22
@ygt:matrix.org@ygt:matrix.org joined the room.18:24:40
@sylex-matrix:matrix.orgsylex-matrix joined the room.22:07:55
@sylex-matrix:matrix.orgsylex-matrix Yo! 22:08:21
@sylex-matrix:matrix.orgsylex-matrixWould someone around here lend me a hand with a coulpe of things related to colmena and nix? 😁22:14:17
@bonus:bonusplay.plBonushttps://bonusplay.pl/asktoask22:14:50
@bonus:bonusplay.plBonus * https://bonusplay.pl/asktoask :)22:15:09
@sylex-matrix:matrix.orgsylex-matrixI'm new to pretty much everything related to nix deployments, so I'm kinda lost on the sense of not knowing where to look for things22:15:34
@sylex-matrix:matrix.orgsylex-matrix
In reply to @bonus:bonusplay.pl
https://bonusplay.pl/asktoask
Hey! I was about to articulate my question haha
22:15:44
@sylex-matrix:matrix.orgsylex-matrix just being polite 22:15:46
@sylex-matrix:matrix.orgsylex-matrix:)22:15:49
@sylex-matrix:matrix.orgsylex-matrixWell the thing is, I'm trynna deploy a server into a compute instance on the cloud (Oracle although irrelevant)22:16:31
@sylex-matrix:matrix.orgsylex-matrix And I've gotten most of the things required separatedly 22:16:51
@sylex-matrix:matrix.orgsylex-matrixI use pulumi (similar to terraform) to get the compute running22:17:29
@sylex-matrix:matrix.orgsylex-matrixthen I use nixos-anywhere to replace the ubuntu instance by a nixOS machine22:17:43
@sylex-matrix:matrix.orgsylex-matrixand I've managed to get Colmena to update the machine too22:18:08
@sylex-matrix:matrix.orgsylex-matrixbut right now what I want to do is to launch some applications when the machine is updated by colmena, or maybe afterwards?22:19:21
@sylex-matrix:matrix.orgsylex-matrixlets say I have a docker image that runs some service on a port, how would I go about fetching some git repo, launching a docker container inside the repo and running it?22:20:25
@sylex-matrix:matrix.orgsylex-matrix(Obv I mean how would I do it from nix)22:21:04

Show newer messages


Back to Room ListRoom Version: 6