1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00
home-manager/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 accounts.email: fix runbox.com TLS setup (#4408) 2023-09-04 22:29:18 +02:00
config home-cursor: fix typo in XDG data directory link 2023-11-07 09:21:58 +01:00
i18n/input-method qt: use sessionVariablesExtra to export QT_PLUGIN_PATH/QML2_IMPORT_PATH 2023-10-19 21:41:18 +01:00
launchd treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lib openstackclient: add module (#4530) 2023-11-15 15:25:44 -07:00
lib-bash home-manager: verify username and home directory 2023-05-27 09:14:05 +02:00
misc ruff: add module 2023-11-22 23:51:52 +01:00
po Translate using Weblate (Turkish) 2023-11-16 07:06:43 +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
targets treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix Add lib argument to homeManagerConfiguration (#2753) 2022-04-17 18:14:41 -04:00
files.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
home-environment.nix home-manager: handle profile list in Nix >2.17 2023-08-13 01:18:17 +02:00
manual.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
modules.nix ruff: add module 2023-11-22 23:51:52 +01:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix systemd: avoid creating an empty user.conf 2023-11-11 00:51:53 +01:00
xresources.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xsession.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00