1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00
home-manager/tests/modules
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
..
accounts tests: allow testing assertions 2021-02-07 22:48:22 +01:00
config/i18n i18n: Use glibcLocales from NixOS if possible (#2333) (#4177) 2023-07-04 11:28:25 +02:00
files tests: various minor cleanups 2023-05-13 00:09:52 +02:00
home-environment i18n: Use glibcLocales from NixOS if possible (#2333) (#4177) 2023-07-04 11:28:25 +02:00
i18n/input-method fcitx5: add fcitx5-config-qt to test stub 2023-08-16 22:41:11 +02:00
launchd launchd: make Launch Agents config a freeform setting 2023-03-25 23:59:58 +01:00
misc qt: fix qt.platformTheme = "gtk3" 2023-11-20 20:33:29 +00:00
programs bat: support boolean flags in config 2023-11-23 00:16:58 +01:00
services picom: use getExe instead of hardcoded binary 2023-11-21 08:55:46 +01:00
systemd systemd: avoid creating an empty user.conf 2023-11-11 00:51:53 +01:00
targets-darwin darwin: use full path to commands in activation script 2022-11-05 12:14:08 +09:00
targets-linux xdg.systemDirs: init module (#1797) 2021-05-10 20:14:42 -04:00
xresources xresources: add missing test file 2020-06-28 11:23:34 +02:00