Files
nixpkgs/nixos/modules/programs
Maximilian Bosch d77b59b41d nixos/rust-motd: use a second attribute (order) for the of sections in TOML
Rather than using `priority` with `sortProperties`, a new option called
`order` defines the ordering of the sections. I.e.

    order = [ "global" "uptime" "banner" ]

means that `uptime` comes before `banner`. Please note that `global` is
for global settings and not a section. I figured that it'd be too much
magic to hide this in the implementation and ask the user to specify the
order of _each_ section in `settings` instead.

OTOH this makes the intent way clearer than priorities. Also, this
remains opt-in, the option defaults to `attrNames cfg.settings`, i.e.
all sections ordered alphabetically.
2023-09-26 23:28:40 +02:00
..
2023-07-27 00:04:03 -03:00
2023-08-12 20:53:05 +03:00
2023-01-05 02:33:13 +01:00
2023-03-22 13:56:44 +02:00
2023-05-06 22:49:35 -06:00
2023-08-15 19:20:39 +08:00
2023-08-08 21:31:21 +08:00
2023-01-05 20:01:57 +01:00
2023-01-13 13:46:31 -08:00
2023-04-07 13:38:33 +02:00
2022-11-07 09:05:23 +00:00
2022-11-07 20:27:00 +01:00
2023-04-07 22:32:02 -04:00
2023-03-10 15:13:58 +03:00
2023-05-13 23:41:50 +02:00
2023-03-08 11:21:06 +08:00
2022-12-25 22:53:26 +01:00
2023-06-15 09:47:26 +02:00
2023-07-29 19:28:32 +02:00
2023-02-06 20:19:42 +01:00
2023-02-06 11:35:42 +01:00
2023-05-19 22:31:04 -04:00
2023-01-05 02:33:13 +01:00
2023-05-09 15:53:34 -04:00
2023-08-08 21:31:21 +08:00
2023-08-05 18:59:52 -07:00
2023-05-14 10:05:29 -04:00
2023-05-19 22:31:04 -04:00
2022-12-14 14:25:30 +01:00
2022-12-08 17:52:52 +01:00
2023-06-30 19:39:53 +12:00
2023-09-13 14:48:24 +08:00