!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

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


SenderMessageTime
21 Oct 2022
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @yuka:yuka.dev

nodes.nix

# This is NOT a normal colmena hive definition
# We are using our own suxin module system

{ lib, inputs, ... }:

{
  defaults = {
    specialArgs = { inherit inputs; };
    nixpkgs = lib.mkDefault inputs.nixpkgs;
    configuration = import ./common;
  };

  nodes = {
    hifipi.configuration = import ./hosts/hifipi/configuration.nix;
    monitor.configuration = import ./hosts/monitor/configuration.nix;
    tvpi.configuration = import ./hosts/tvpi/configuration.nix;
    yaya.configuration = import ./hosts/yaya/configuration.nix;
    net-vm.configuration = import ./hosts/net-vm/configuration.nix;
    yoyo.configuration = import ./hosts/yoyo/configuration.nix;

    mari.nixpkgs = inputs.musl-nixos.inputs.nixpkgs;
    mari.configuration = import ./hosts/mari/configuration.nix;

    yuyu.nixpkgs = inputs.musl-nixos.inputs.nixpkgs;
    yuyu.configuration = import ./hosts/yuyu/configuration.nix;
  };
}
Cool, how is the experience using a musl-based environment?
17:53:34
@zhaofeng:zhaofeng.liZhaofeng LiBeen wanting to use a Nix-based iSH rootfs, but glibc stuff has a tough time running on it: https://github.com/ish-app/ish/pull/181217:53:36
@yuka:yuka.dev@yuka:yuka.dev
In reply to @zhaofeng:zhaofeng.li
Cool, how is the experience using a musl-based environment?
part of the experience: track a nixpkgs fork with a few patches applied, though they should soon(tm) upstream
17:58:46
@yuka:yuka.dev@yuka:yuka.devand apply this overlay here: https://cyberchaos.dev/cyberchaoscreatures/musl-nixos/-/blob/main/overlay.nix17:59:19

Show newer messages


Back to Room ListRoom Version: 6