Both locations are supported, see https://clementtsang.github.io/bottom/nightly/configuration/config-file/default-config/
literalExample
Instead use the new function `literalExpression`. See https://github.com/NixOS/nixpkgs/pull/136909
Bottom is a cross-platform graphical process/system monitor with a customizable interface and a multitude of features. Two unit tests were added validate the module behavior for an empty configuration and the example configuration.