26 Apr 2024 |
tim | 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 changed their display name from Qyriad to Qyriad (she/they). | 23:47:44 |
| Qyriad | 23:47:57 |
27 Apr 2024 |
| Qyriad changed their display name from Qyriad to Qyriad . | 00:01:06 |
| Qyriad changed their display name from Qyriad to Qyriad. | 00:09:42 |
| pistache joined the room. | 13:27:22 |
| @ygt:matrix.org joined the room. | 18:24:40 |
| sylex-matrix joined the room. | 22:07:55 |
sylex-matrix | Yo! | 22:08:21 |
sylex-matrix | Would someone around here lend me a hand with a coulpe of things related to colmena and nix? 😁 | 22:14:17 |
Bonus | https://bonusplay.pl/asktoask | 22:14:50 |
Bonus | * https://bonusplay.pl/asktoask :) | 22:15:09 |
sylex-matrix | I'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 things | 22:15:34 |
sylex-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 | just being polite | 22:15:46 |
sylex-matrix | :) | 22:15:49 |
sylex-matrix | Well the thing is, I'm trynna deploy a server into a compute instance on the cloud (Oracle although irrelevant) | 22:16:31 |
sylex-matrix | And I've gotten most of the things required separatedly | 22:16:51 |
sylex-matrix | I use pulumi (similar to terraform) to get the compute running | 22:17:29 |
sylex-matrix | then I use nixos-anywhere to replace the ubuntu instance by a nixOS machine | 22:17:43 |
sylex-matrix | and I've managed to get Colmena to update the machine too | 22:18:08 |
sylex-matrix | but 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 | lets 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 | (Obv I mean how would I do it from nix) | 22:21:04 |
Bonus | option #1: you can nix the application inside the docker container
option #2: run a docker container via virtualisation.oci-containers.containers | 22:22:27 |
Bonus | * 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 | wait | 22:22:44 |