1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +02:00
home-manager/modules
Leah Amelia Chen df3f8d4e8b
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
2024-04-10 21:26:42 +02:00
..
accounts accounts.email: fix runbox.com TLS setup (#4408) 2024-04-10 21:26:09 +02:00
config home-cursor: fix typo in XDG data directory link 2024-04-10 21:26:34 +02:00
i18n/input-method qt: use sessionVariablesExtra to export QT_PLUGIN_PATH/QML2_IMPORT_PATH 2024-04-10 21:26:40 +02:00
launchd treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lib openstackclient: add module (#4530) 2024-04-10 21:26:37 +02:00
lib-bash home-manager: verify username and home directory 2023-05-27 09:14:05 +02:00
misc ruff: add module 2024-04-10 21:26:42 +02:00
po Translate using Weblate (Turkish) 2024-04-10 21:26:37 +02:00
programs bat: support boolean flags in config 2024-04-10 21:26:42 +02:00
services picom: use getExe instead of hardcoded binary 2024-04-10 21:26:42 +02: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 2024-04-10 21:26:42 +02: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 2024-04-10 21:26:35 +02: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