| 10 Apr 2025 |
dish1892 | In reply to @gmacon:matrix.org I've set this up. I have the deploy ssh private key in a "secret" that gets exposed to the run as an environment variable. I start an ssh agent and then pipe the key into ssh-add Noice, gonna have to try this. Thanks! | 15:37:50 |
| 11 Apr 2025 |
Samuel | In reply to @gmacon:matrix.org I've set this up. I have the deploy ssh private key in a "secret" that gets exposed to the run as an environment variable. I start an ssh agent and then pipe the key into ssh-add I do the same in a GitLab CI pipeline, it works perfectly that way. | 14:18:20 |
| marshmallow changed their profile picture. | 20:57:48 |
| 12 Apr 2025 |
| mannp changed their display name from mannp ⚡️ to mannp. | 07:20:51 |
| niklaskorz joined the room. | 22:03:30 |
| niklaskorz changed their profile picture. | 22:09:35 |
| 13 Apr 2025 |
| ststefa joined the room. | 09:08:53 |
ststefa | Hi there! I'm rather new to nix and are currently trying to provision some Hetzner VMs (preferrably aarch64) with colmena.The first thing I'd want to do is create a base image for use with Hetzner. I already figured out some parts of the puzzle. However I fail in creating an image which I can use to upload it as a valid Hetzner image. All my attempts do not bootup properly for various reasons.
Does anyb | 09:12:20 |
ststefa | * Hi there! I'm rather new to nix and are currently trying to provision some Hetzner VMs (preferrably aarch64) with colmena.
The first thing I'd want to do is create a base image for use with Hetzner. I already figured out some parts of the puzzle. However I fail in creating an image which I can use to upload it as a valid Hetzner image. All my attempts do not bootup properly for various reasons.
Does anybody here have a hint on how to create such an image, preferrably using nix itself? | 09:13:14 |
ststefa | * Hi there! I'm rather new to nix and are currently trying to provision some Hetzner VMs (preferrably aarch64) with colmena.
The first thing I'd want to do is create a NixOS base image for use with Hetzner. I already figured out some parts of the puzzle. However I fail in creating an image which I can use to upload it as a valid Hetzner image. All my attempts do not bootup properly for various reasons.
Does anybody here have a hint on how to create such an NixOS image, preferrably using nix itself? | 09:17:46 |
dish1892 | I’m on oracle cloud but I use nixosinfect to install nixos | 09:18:07 |
dish1892 | https://github.com/elitak/nixos-infect | 09:18:09 |
dish1892 | The install command can be run directly from cloud init as well which is nice | 09:18:45 |
dish1892 | (Then I use colmena for configuration) | 09:20:08 |
ststefa | Ah, cool! So I'd setup a regular e.g. debian-12 with nixosinfect in the cloud-init, and then it'd be manageable using colmena? Do I get that right? | 09:20:20 |
dish1892 | Yes, I think there is instructions on the GitHub page for nixos infect regarding hetzner | 09:22:31 |
dish1892 | So just follow that | 09:22:35 |
ststefa | Great, thanks a lot, I'll try that! However I still think it'd be somehow more elegant to have a NixOS base image. Not? Is that too hard to do for some reason? | 09:23:31 |
dish1892 | For sure, but infect is easier and I’m lazy | 09:25:04 |
ststefa | ;) | 09:26:18 |
dish1892 | There’s also another tool called nixos anywhere which can do partitioning aswell | 09:26:21 |
ststefa | Cool, thanks for the hints, they'll probably give me a lot more tinkering pleasure ;) | 09:27:29 |
dish1892 | Sure thing!🌞 | 09:30:05 |