!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

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


SenderMessageTime
12 Jun 2024
@networkexception:nwex.denetworkException joined the room.15:15:03
18 Jun 2024
@f0x:pixie.townf0x still kind of struggling to find a good repo structure for my multi-node deployment, patterns for config reuse and referring to other nodes. does anyone have some config repo's to take inspiration from? 13:49:48
@f0x:pixie.townf0xmy current deployment is with morph but I've crafted a right mess, so want to combine the switch to colmena with a big refactor in that regard too13:50:20
20 Jun 2024
@yuka:yuka.dev@yuka:yuka.dev left the room.13:46:16
@agathasorceress:161.rocksAgatha Valentine Lovelace changed their profile picture.19:39:09
21 Jun 2024
@linus:schreibt.jetzt@linus:schreibt.jetzt left the room.14:07:55
23 Jun 2024
@networkexception:chat.upi.li@networkexception:chat.upi.li left the room.21:06:29
26 Jun 2024
@ronixx:matrix.orgroshan | byteio.in 🌷 changed their display name from theDev.one 🌷 to roshan | byteio.in 🌷.15:32:13
1 Jul 2024
@olaf_freund:matrix.orgOlaf Krasicki Freund joined the room.21:57:16
3 Jul 2024
@digital:fairydust.space@digital:fairydust.space left the room.10:47:25
4 Jul 2024
@cinerealkiara:matrix.orgkiara joined the room.00:21:10
5 Jul 2024
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) changed their display name from aleksana to aleksana (force me to bed after 18:00 UTC).18:59:22
7 Jul 2024
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr) changed their display name from polygon system (it/she/they) to polygon system (it/she, no "you").22:14:18
9 Jul 2024
@ktemkin:katesiria.org@ktemkin:katesiria.org left the room.04:59:36
12 Jul 2024
@e1mo:chaos.jetztNina (e1mo) joined the room.08:16:12
@ser:sergevictor.euser(ial) joined the room.09:47:15
@ser:sergevictor.euser(ial)I don't understand how can I split my hive.nix into several files 09:54:12
@ser:sergevictor.euser(ial)for example every host definition in a separate file - how to include them into hive.nix? 09:54:51
@ser:sergevictor.euser(ial)colmena manual is silent about it 09:55:44
@craige:mcwhirter.iocraige

You can import files like you can anywhere else in Nix. Try something like:

myHost = { imports = [myHost.nix]};

It's probably not in the manual because it's Nix thing, not a Colmena thing.

10:26:12
@ser:sergevictor.euser(ial)OK, i haven'10:27:14
@ser:sergevictor.euser(ial)tr tried this, thanks - what if i want to import two hosts defined in one file?10:28:16
@craige:mcwhirter.iocraigeThat will also work.10:28:55
@ser:sergevictor.euser(ial)for example "webservers.nix"10:28:59
@craige:mcwhirter.iocraigeIt's standard Nix imports. You just need to import at the correct point.10:29:29
@ser:sergevictor.euser(ial)i can imagine, but i am not able to find the correct one10:29:54
@craige:mcwhirter.iocraige

Something like:

colmena = { imports = [ webservers.nix] };

may work.

10:33:07
@ser:sergevictor.euser(ial)let me try, thanks10:33:20
@ser:sergevictor.euser(ial) i tried using this: colmena = { imports = [ ./dnsrv.nix ]; }; 10:42:46
@ser:sergevictor.euser(ial)but10:42:51

Show newer messages


Back to Room ListRoom Version: 6