programs.rust-motd.order
The order of the sections in programs.rust-motd.settings. By default they are ordered alphabetically.
Context: since attribute sets in Nix are always ordered alphabetically internally this means that
{
uptime = { /* ... */ };
banner = { /* ... */ };
}
will still have banner displayed before uptime.
To work around that, this option can be used to define the order of all keys, i.e.
{
order = [
"uptime"
"banner"
];
}
makes sure that uptime is placed before banner in the motd.
- Type
list of string- Default
attrNames cfg.settings- Declared
- <nixpkgs/nixos/modules/programs/rust-motd.nix>