!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

402 Members
Discussion about documentation improvements around the Nix ecosystem83 Servers

Load older messages


SenderMessageTime
2 Aug 2021
@domenkozar:matrix.orgDomen Kožaras I wrote https://nix.dev/tutorials/building-bootable-iso-image I got a question where are all modules inputs documented, are they anywhere?13:37:16
@domenkozar:matrix.orgDomen KožarI couldn't find it13:37:19
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @domenkozar:matrix.org
as I wrote https://nix.dev/tutorials/building-bootable-iso-image I got a question where are all modules inputs documented, are they anywhere?
Why sync at the end? 🧐
13:42:30
@domenkozar:matrix.orgDomen Kožardd doesn't ensure things are written to the disk13:43:40
@domenkozar:matrix.orgDomen Kožaralmost no program does that and given that you're likely to unplug it very soon..13:44:15
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yeah good point! 🙂13:44:37
@infinisil:matrix.orginfinisil domenkozar: You mean the lib, config, options, etc..? 14:39:07
@domenkozar:matrix.orgDomen Kožaryeah14:39:33
@infinisil:matrix.orginfinisildomenkozar: I don't think they're documented anywhere, but in general NixOS modules, these three are always there14:40:22
@infinisil:matrix.orginfinisil But you can have arbitrary others via _module.args, specialArgs or args 14:41:00
@infinisil:matrix.orginfinisil NixOS specifically sets some more, like _module.args.pkgs, specialArgs.modulesPath, args.{baseModules,extraModules,modules} 14:41:54
@infinisil:matrix.orginfinisilI think that's all of them, relevant file is https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/eval-config.nix14:42:16
@domenkozar:matrix.orgDomen Kožar infinisil: could you add that to https://github.com/NixOS/nixpkgs/issues/132419 14:43:44
@infinisil:matrix.orginfinisilYeah can do14:44:14
@domenkozar:matrix.orgDomen Kožarthanks!14:53:04
3 Aug 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) Does anybody associate a certain known failure mode with such strange example rendering? 03:17:44
5 Aug 2021
@jtojnar:matrix.orgJan Tojnar David Arnold: your renderer needs to support literalExample, e.g. https://github.com/NixOS/nixpkgs/blob/71b64e83077762aa44c6c7346e913c9bacb9fa73/nixos/lib/make-options-doc/options-to-docbook.xsl#L66-L68 07:31:17
6 Aug 2021
@roberthensing:matrix.orgRobert Hensing (roberth) changed their display name from roberth to Robert Hensing (roberth).19:46:48
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their display name from ash to kity.21:02:45
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their display name from kity to ash (it/its).21:03:34
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their display name from ash (it/its) to ash (it/its) 🏳️‍⚧️.21:04:48
7 Aug 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) changed their display name from David Arnold to David Arnold (blaggacao).17:57:42
@blaggacao:matrix.orgDavid Arnold (blaggacao) removed their profile picture.17:58:00
@blaggacao:matrix.orgDavid Arnold (blaggacao) set a profile picture.17:58:24
8 Aug 2021
@infinisil:matrix.orginfinisil removed their profile picture.22:49:02
10 Aug 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius joined the room.20:17:19
17 Aug 2021
@b:chreekat.netchreekat changed their display name from bryan to chreekat.19:59:01
18 Aug 2021
@siraben:matrix.orgsiraben changed their display name from siraben to siraben (he/him).19:37:50
22 Aug 2021
@siraben:matrix.orgsiraben changed their display name from siraben (he/him) to siraben.16:16:05
25 Aug 2021
@trofi:matrix.orgtrofi joined the room.21:54:36

Show newer messages


Back to Room ListRoom Version: 6