!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
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
@ser:sergevictor.euser(ial)it does not work10:42:56
@ser:sergevictor.euser(ial)what should be syntax of included file?10:43:13
@ser:sergevictor.euser(ial) if i just write hostdef = {.... 10:43:41
@ser:sergevictor.euser(ial)error: syntax error, unexpected '=', expecting end of file10:44:00
@ser:sergevictor.euser(ial)if i put host definitions between `{}10:44:29
@ser:sergevictor.euser(ial)error: The option `nixdnsrv1' does not exist. Definition values:10:45:02
13 Jul 2024
@test-user:c.imperishable.namerendakuenthusiast⚡️ Zhaofeng Li: any plans to do another colmena release in the near future? 07:31:40
@MartiniMoe:matrix.org@MartiniMoe:matrix.org left the room.08:00:07
@cadair:cadair.com@cadair:cadair.com joined the room.12:40:42

Show newer messages


Back to Room ListRoom Version: 6