programs.rust-motd.order

NixOS option

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 in: nixos/modules/programs/rust-motd.nixView source on NixOS/nixpkgs →