!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

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


SenderMessageTime
6 May 2022
@jeff:ocjtech.usJeff joined the room.04:36:25
7 May 2022
@dantefromhell:matrix.orgdantefromhell joined the room.00:45:18
@dantefromhell:matrix.orgdantefromhellHi, I just stumbled over colmena when research tools to deploy Nix from flakes onto a variety of machines (laptop, VMs, servers, Raspberry). One thing I couldnt figure out though if it's possible to automate the initial nix install (incl partitioning) with colmena?00:49:28
@schnecfk:ruhr-uni-bochum.deCRTifiedAFAIK no00:49:48
@cw:kernelpanic.cafeChinchilla Washington
In reply to @dantefromhell:matrix.org

Hi,
I just stumbled over colmena when research tools to deploy Nix from flakes onto a variety of machines (laptop, VMs, servers, Raspberry).

One thing I couldnt figure out though if it's possible to automate the initial nix install (incl partitioning) with colmena?

Check out nixos-up https://github.com/samuela/nixos-up
01:05:50
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @dantefromhell:matrix.org
Hi,
I just stumbled over colmena when research tools to deploy Nix from flakes onto a variety of machines (laptop, VMs, servers, Raspberry).

One thing I couldnt figure out though if it's possible to automate the initial nix install (incl partitioning) with colmena?
Colmena only deploys to existing NixOS hosts and doesn't take care of the initial install. To install onto bare-metal hosts, I've been using this external script to replace nixos-install to deploy from a Colmena config: https://github.com/zhaofengli/colmena/issues/42#issuecomment-1004528027
01:14:45
@zhaofeng:zhaofeng.liZhaofeng LiYou can probably pair it with systemd-repart to take care of partitioning as well.01:15:44
@zhaofeng:zhaofeng.liZhaofeng Li Wanja Hentze: Somehow I didn't get notified of this message. If you are interested in doing that, please send a PR! 01:17:22
@dantefromhell:matrix.orgdantefromhellyeah I feel there's this recursive dependency on nix all over the nix ecosystem 🤯🤮01:25:48
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @dantefromhell:matrix.org
Hi,
I just stumbled over colmena when research tools to deploy Nix from flakes onto a variety of machines (laptop, VMs, servers, Raspberry).

One thing I couldnt figure out though if it's possible to automate the initial nix install (incl partitioning) with colmena?
For systems which you provision externally ("dd a ready-to-go-image on an sd-card", you could also define your config while importing sd-image-aarch64.nix from nixpkgs. Then, you could build the config.system.build.sdImage-attribute and use the resulting image on your device 🙂
02:03:26
@schnecfk:ruhr-uni-bochum.deCRTifiedat least for the sd-card, this would also include partitioning02:04:00

Show newer messages


Back to Room ListRoom Version: 6