1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 18:59:44 +01:00
home-manager/modules/programs
Matthieu Coudron 8d3fe1366b
neovim: support different configuration languages (#2637)
Plugins now accept a "type" element describing the language (viml, lua
, teal, fennel, ...) in which
they are configured.

The configuration of the different plugins is aggregated per language
and made available as a key in the attribute set `programs.neovim.generatedConfigs`

For instance if you want to configure a lua package:

```
programs.neovim.plugins = [
{
plugin = packer-nvim;
type = "lua";
config = ''
    require('packer').init({
    luarocks = {
	python_cmd = 'python' -- Set the python command to use for running hererocks
    },
    })
'';
}
]
```
and you can save the generated lua config to a file via

```
  xdg.configFile = {
    "nvim/init.generated.lua".text = config.programs.neovim.generatedConfigs.lua;
  };
```
2022-01-27 16:27:35 +01:00
..
command-not-found command-not-found: update from nixpkgs 2021-06-20 20:40:37 +02:00
vscode Replace usage of literalExample 2021-10-13 00:16:10 +02:00
zsh prezto: fix environment files being overwritten (#1863) 2021-03-17 18:35:10 +00:00
abook.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
afew.nix format: remove exception for afew module (#1955) 2021-04-28 21:58:49 +02:00
alacritty.nix alacritty: correct example config link 2021-12-29 09:39:42 +01:00
alot-accounts.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
alot.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
aria2.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
astroid-accounts.nix treewide: replace attrs by formats or types.anything 2020-11-29 21:54:55 -05:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
atuin.nix atuin: add fish integration 2022-01-25 00:21:31 +01:00
autojump.nix fish: remove promptInit in favor of interactiveShellInit (#2231) 2021-10-27 16:40:39 -06:00
autorandr.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
bash.nix bash: remove unnecessary shebang and executable bit for dotfiles (#2599) 2022-01-01 10:06:55 -07:00
bat.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
beets.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
bottom.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
broot.nix broot: fix aheaume entry in maintainers 2021-12-29 09:50:51 +01:00
browserpass.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
chromium.nix chromium: add commandLineArgs option 2022-01-26 22:34:19 +01:00
dircolors.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
direnv.nix Add programs.fish.interactiveShellInit to direnv (#2614) 2022-01-16 19:13:32 -05:00
eclipse.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
emacs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
exa.nix exa: fix kalhauge maintainers reference 2021-12-29 09:50:51 +01:00
feh.nix feh: allow binding actions to multiple buttons/keys 2020-09-30 00:55:09 +02:00
firefox.nix firefox: create user.js when only bookmarks are specified in config (issue #2492) (#2521) 2021-12-01 22:21:41 -05:00
fish.nix Remove remaining allowSubstitutes = false 2021-11-12 23:24:08 +01:00
foot.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
fzf.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
getmail-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
getmail.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gh.nix gh: support gh as git credential manager for github.com 2021-10-21 23:20:25 +02:00
git.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
gnome-terminal.nix programs.gnome-terminal: terminal options (#2042) 2021-06-15 23:39:56 +02:00
go.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
gpg.nix gpg: allow specifying trust levels by name 2021-12-16 19:06:39 +01:00
helix.nix helix: add module 2022-01-22 15:42:49 +01:00
hexchat.nix hexchat: remove superherointj as maintainer 2021-12-29 09:50:53 +01:00
himalaya.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
home-manager.nix Remove some usage of config.lib.dag 2021-05-09 12:13:31 +02:00
htop.nix htop: fix maintainers entry for bjpbakker 2021-12-29 09:50:54 +01:00
i3status-rust.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
i3status.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
info.nix info: generate dir file directly in profile 2020-09-18 14:05:42 +02:00
irssi.nix irssi: format using nixfmt 2021-10-31 10:32:58 +01:00
java.nix java: add module 2021-08-10 23:30:12 +02:00
jq.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
kakoune.nix kakoune: fix ui options (#2641) 2022-01-16 19:39:41 -05:00
keychain.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
kitty.nix kitty: Allow package to be configurable (#2640) 2022-01-16 18:19:32 -05:00
kodi.nix kodi: add module 2022-01-26 23:56:25 +01:00
lazygit.nix lazygit: fix kalhuage maintainers reference 2021-12-29 09:50:52 +01:00
less.nix less: store 'lesskey' under XDG_CONFIG_HOME 2021-12-08 11:23:56 +01:00
lesspipe.nix Mark rycee as maintainer for a bunch of modules 2017-09-26 23:40:31 +02:00
lf.nix treewide: use remove when possible 2021-12-27 09:03:18 +01:00
lieer.nix lieer: change settings to freeform type 2021-09-14 23:59:56 +02:00
lsd.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
man.nix man: support building manual page index cache 2020-09-13 20:52:08 +02:00
mangohud.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
matplotlib.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mbsync-accounts.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mbsync.nix treewide: use remove when possible 2021-12-27 09:03:18 +01:00
mcfly.nix mcfly: switch to init command (#2301) 2021-08-29 23:42:54 -04:00
mercurial.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mpv.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
msmtp-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
msmtp.nix email: allow null certificatesFile 2021-08-10 00:12:13 +02:00
mu.nix mu: fix command (#1623) 2021-01-19 19:36:31 +01:00
navi.nix navi: don't install widget on limited terminals 2021-12-12 17:59:30 +01:00
ncmpcpp.nix ncmpcpp: fix maintainers entry for olmokramer 2021-12-29 09:50:55 +01:00
ncspot.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
ne.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neomutt-accounts.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neomutt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neovim.nix neovim: support different configuration languages (#2637) 2022-01-27 16:27:35 +01:00
newsboat.nix newsboat: add sumnerevans as maintainer 2021-04-11 22:20:03 +02:00
nix-index.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
nnn.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
noti.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
notmuch.nix notmuch: inline notmuch-accounts.nix 2020-09-24 20:02:49 +02:00
nushell.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
obs-studio.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
octant.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
offlineimap-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
offlineimap.nix offlineimap: Fix for OfflineIMAP 8 (#2479) 2021-11-16 10:31:01 -07:00
opam.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pandoc.nix pandoc: add new module 2022-01-22 21:16:50 +01:00
password-store.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pazi.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pet.nix pet: fix settings format issue 2021-11-17 23:42:21 +01:00
pidgin.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
piston-cli.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
powerline-go.nix powerline-go: add support for -modules-right 2021-12-03 17:58:03 +01:00
qutebrowser.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
rbw.nix rbw: Fix a typo (#2648) 2022-01-17 16:37:46 -05:00
readline.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
rofi-pass.nix rofi-pass: add rofi-pass plugin for password-store 2020-12-18 23:22:57 +01:00
rofi.nix rofi: add finalPackage option (#2649) 2022-01-17 18:21:40 -05:00
rtorrent.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
sagemath.nix sagemath: add module 2022-01-11 14:38:02 +01:00
sbt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
scmpuff.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
senpai.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
skim.nix skim: use cfg.package in shell integrations 2022-01-11 16:44:57 +01:00
sm64ex.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
sqls.nix sqls: add module 2021-12-11 00:21:49 +01:00
ssh.nix ssh: add includes option (#2453) 2021-11-16 11:51:10 -07:00
starship.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
taskwarrior.nix taskwarrior: change config file location and use relative theme paths (#2455) 2021-11-23 21:33:03 -05:00
terminator.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
termite.nix termite: add option to enable VTE integration (#1917) 2021-04-20 19:45:39 -04:00
texlive.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
timidity.nix timidity: add module 2022-01-22 16:46:16 +01:00
tint2.nix tint2: add module 2022-01-22 18:09:15 +01:00
tmux.nix tmux: format using nixfmt 2021-10-31 10:24:01 +01:00
topgrade.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
urxvt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
vim.nix treewide: use remove when possible 2021-12-27 09:03:18 +01:00
vscode.nix vscode: avoid unnecessary IFD (#2506) 2021-11-24 20:55:38 -05:00
watson.nix watson: add module 2022-01-22 16:12:34 +01:00
waybar.nix waybar: fix deprecated "modules" setting check (#2646) 2022-01-17 16:38:22 -05:00
xmobar.nix xmobar: fix maintainers entry for t4ccer 2021-12-29 09:50:56 +01:00
z-lua.nix z-lua: Add shell aliases to fish (#2376) 2021-10-06 08:49:56 -06:00
zathura.nix zathura: allow configuring the package used (#1636) 2020-12-04 18:38:22 +01:00
zoxide.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
zplug.nix programs.zsh.zplug: add zplugHome option 2021-11-02 08:49:47 +01:00
zsh.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00