1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 00:59:44 +01:00
home-manager/modules/programs
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
..
command-not-found treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vscode treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zsh zsh-abbr: add module 2023-10-04 08:07:49 +02:00
abook.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
aerc-accounts.nix aerc: cleanup unused bindings 2023-08-27 22:36:40 +02:00
aerc.nix aerc: fix config paths on darwin 2023-10-27 09:44:45 +02:00
afew.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
alacritty.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
alot-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
alot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
antidote.nix antidote: cleanup unused bindings 2023-08-27 22:36:41 +02:00
aria2.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
astroid-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
atuin.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
autojump.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
autorandr.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
awscli.nix awscli: add module 2023-09-30 09:48:13 +02:00
bacon.nix bacon: add module 2023-09-24 12:07:57 +02:00
bash.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
bashmount.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
bat.nix bat: support boolean flags in config 2023-11-23 00:16:58 +01:00
beets.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
borgmatic.nix borgmatic: preparing upcoming borgmatic change 2023-11-01 22:16:04 +01:00
bottom.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
boxxy.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
broot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
browserpass.nix browserpass: support librewolf 2023-08-15 08:42:51 +02:00
btop.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
carapace.nix carapace: add xgettext workaround 2023-09-13 23:45:50 +02:00
cava.nix cava: add module 2023-10-24 08:20:22 +02:00
chromium.nix chromium: add support for dictionaries 2023-08-27 10:42:38 +02:00
comodoro.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
darcs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
dircolors.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
direnv.nix direnv: add package options 2023-09-29 12:51:58 +02:00
discocss.nix discocss: fix attribute name 2022-10-13 11:52:24 +02:00
eclipse.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
emacs.nix emacs: add version for default.el package 2023-09-08 09:00:58 +08:00
eww.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
eza.nix exa: add aliases to nushell 2023-10-22 00:38:07 +02:00
feh.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
firefox.nix firefox: add support for specifying policies (#4626) 2023-11-17 23:54:39 +01:00
fish.nix fish: query pname and version for completions 2023-10-07 00:59:08 +02:00
foot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fuzzel.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fzf.nix fzf: add mkOrder for fish like we do for other shells 2023-10-18 11:40:55 +02:00
gallery-dl.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
getmail-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
getmail.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gh-dash.nix gh-dash: add module 2023-07-24 12:38:44 +02:00
gh.nix gh: option to enable helper for additional hosts (#4288) 2023-08-01 01:40:37 +02:00
git-cliff.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
git-credential-oauth.nix git-credential-oauth: add module 2023-06-14 23:26:14 +02:00
git.nix git: replace gitToInit with lib function 2023-09-18 23:57:36 +02:00
gitui.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
gnome-terminal.nix gnome-terminal: add assertion on profile names 2023-07-29 19:43:20 +02:00
go.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
gpg.nix gpg: fix typo (#4277) 2023-07-27 18:54:08 +02:00
granted.nix granted: add module 2023-11-01 22:20:17 +01:00
havoc.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
helix.nix helix: add extraPackages option 2023-10-25 18:11:33 +02:00
hexchat.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
himalaya.nix himalaya: update a link to ticket 2023-08-02 11:41:17 +02:00
home-manager.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
hstr.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
htop.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
hyfetch.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
i3status-rust.nix programs.i3status-rust: reload on config change (#4466) 2023-09-18 15:25:42 +02:00
i3status.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
imv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
info.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ion.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
irssi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
java.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
joshuto.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
jq.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
jujutsu.nix jujutsu: fix zsh completion (#4305) 2023-08-04 11:19:57 +02:00
just.nix just: simplify 2023-09-07 22:29:12 +02:00
k9s.nix k9s: add aliases, plugins, views 2023-11-11 01:39:45 +01:00
kakoune.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
keychain.nix keychain: fix edge-cases in nushell integration 2023-09-26 16:24:27 +02:00
khal-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
khal-calendar-accounts.nix khal: improve module (#4088) 2023-06-16 11:10:24 +02:00
khal.nix programs.khal: add settings option (#4375) 2023-08-30 11:57:47 +02:00
khard.nix khard: add module 2023-10-01 09:29:05 +02:00
kitty.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
kodi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lazygit.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ledger.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
less.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lesspipe.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lf.nix lf: simplify option validation (#4334) 2023-08-12 18:10:49 +02:00
librewolf.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lieer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
looking-glass-client.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lsd.nix lsd: allow user to configure colors 2023-09-24 09:47:00 +02:00
man.nix man: fix caches generation in cross-compiled system (#4294) 2023-08-01 12:56:37 +02:00
mangohud.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
matplotlib.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mbsync-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mbsync.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mcfly.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mercurial.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
micro.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mpv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mr.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
msmtp-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
msmtp.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mu.nix mu: add package option (#4325) 2023-08-09 18:40:43 +02:00
mujmap.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
navi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ncmpcpp.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ncspot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ne.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
neomutt-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
neomutt.nix neomutt: fix STARTTLS 2023-09-20 17:39:23 +02:00
neovim.nix neovim: expose finalPackage 2023-09-26 08:00:52 +02:00
newsboat.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nheko.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nix-index.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nnn.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
noti.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
notmuch-virtual-mailbox.nix notmuch & neomutt: Control virtualboxes being set in NeoMutt for Notmuch integration (#3143) 2023-04-24 16:41:29 +02:00
notmuch.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nushell.nix nushell: deprecation of let-env (#4292) 2023-08-01 19:27:30 +02:00
obs-studio.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
octant.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
offlineimap-accounts.nix offlineimap: cleanup unused bindings 2023-08-27 22:36:42 +02:00
offlineimap.nix offlineimap: cleanup unused bindings 2023-08-27 22:36:42 +02:00
oh-my-posh.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
opam.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
openstackclient.nix openstackclient: add module (#4530) 2023-11-15 15:25:44 -07:00
pandoc.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
papis.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
password-store.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pazi.nix treewide: remove marsam as maintainer (#4136) 2023-06-22 10:16:28 +02:00
pet.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pidgin.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pistol.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
piston-cli.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pls.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
powerline-go.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pqiv.nix pqiv: add module 2023-08-16 17:44:54 +02:00
pubs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pyenv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pylint.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pywal.nix pywal: fixed i3 config (#3002) 2022-06-15 23:44:52 +02:00
qcal.nix qcal: add module 2023-08-22 18:09:05 +02:00
qutebrowser.nix qutebrowser: add greasemonkey userscript option 2023-10-18 22:56:15 +02:00
rbenv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rbw.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
readline.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rio.nix programs.rio: add module (#4118) 2023-09-18 22:42:22 +02:00
ripgrep.nix ripgrep: don't set env. variable if no config (#4254) 2023-07-19 18:18:40 +02:00
rofi-pass.nix rofi-pass: add package option 2023-09-19 22:24:36 +02:00
rofi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rtorrent.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rtx.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ruff.nix ruff: add module 2023-11-22 23:51:52 +01:00
sagemath.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sbt.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
scmpuff.nix scmpuff: enable or disable aliases 2023-10-03 18:04:43 +02:00
script-directory.nix script-directory: fix documentation link (#4258) 2023-07-20 19:52:05 +02:00
senpai.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sioyek.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
skim.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sm64ex.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sqls.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ssh.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
starship.nix starship: use use instead of source for nushell 2023-09-19 23:14:29 +02:00
swaylock.nix swaylock: document the need for host PAM configuration 2023-09-11 23:59:04 +02:00
swayr.nix swayr: add module (#4322) 2023-11-06 18:05:18 +01:00
taskwarrior.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tealdeer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
terminator.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
termite.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
texlive.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
thefuck.nix thefuck: add fish integration (#4535) 2023-11-03 09:33:15 -06:00
thunderbird.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
timidity.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tint2.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tiny.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tmate.nix modules: types.string throws error now (#4324) 2023-08-08 17:00:24 +02:00
tmux.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
topgrade.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
translate-shell.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
urxvt.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vdirsyncer-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vdirsyncer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vim-vint.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vim.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vscode.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
watson.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
waybar.nix waybar: fix service After value 2023-09-19 21:39:16 +02:00
wezterm.nix wezterm: remove automatic config reload call 2023-10-28 09:45:59 +02:00
wlogout.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
wofi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
wpaperd.nix wpaperd: add wpaperd configuration 2023-10-01 09:23:33 +02:00
xmobar.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xplr.nix xplr: add module 2023-08-15 20:26:58 +03:00
yazi.nix yazi: add fish and nushell integration 2023-09-24 00:41:14 +02:00
yt-dlp.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
z-lua.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zathura.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zellij.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zoxide.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zplug.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zsh.nix zsh: allow enabling syntax highlighters (#4360) 2023-11-19 19:37:32 +01:00