1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 12:49:48 +01:00
home-manager/tests
Leah Amelia Chen 134deb46ab
bat: support boolean flags in config
Previously, users cannot enable boolean flags like `--show-all` in bat's
config since all options were expected to be either a string, or a list
of strings. With this commit boolean flags are simply appended to the
end of the config if they are set to `true`, and discarded otherwise.

For example, the config

    {
      theme = "TwoDark";
      show-all = true;
      lessopen = false;
    }

would produce a config file that looks like

    --theme='TwoDark'
    --show-all

Fixes #4657
2023-11-23 00:16:58 +01:00
..
lib lib: add functions to create DAGs from lists 2023-06-05 23:08:30 +02:00
modules bat: support boolean flags in config 2023-11-23 00:16:58 +01:00
asserts.nix tests: fix test.assert.assertions.enable not working 2021-10-13 01:29:23 +02:00
big-test.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix ruff: add module 2023-11-22 23:51:52 +01:00
stubs.nix tests: add mainProgram to stub packages 2023-09-24 09:48:46 +02:00