1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00
home-manager/modules
Matthieu Coudron 47ad3655ec
programs.neovim: expose generatedConfigViml (#2213)
Expose the generated viml config, this has 2 advantages:
1/ user can choose to write the generated config to a file of its choice
2/ the user can prepend/append to the config before writing it

    xdg.configFile."nvim/init.vim".text = ''
	" prepend some config
	${programs.neovim.generatedConfigViml}
	" append some config
    '';

NOTE: this was already possible with 
xdg.configFile."nvim/init.vim" = mkMerge [
  (mkBefore {
    text = ''
      " prepend some config
    '';
  })
  (mkAfter {
    text = ''
      " append some config
    '';
  })
]
2021-07-27 15:59:50 +02:00
..
accounts himalaya: add module 2021-06-26 18:29:42 -04:00
config Move platform check into modules 2021-07-18 20:43:22 +02:00
i18n/input-method Move platform check into modules 2021-07-18 20:43:22 +02:00
lib trayer: add module (#2177) 2021-07-24 00:29:49 +02:00
lib-bash home-manager: respect NO_COLOR environment variable 2021-03-03 23:28:06 +01:00
misc volnoti: add platform assert 2021-07-24 00:37:06 +02:00
programs programs.neovim: expose generatedConfigViml (#2213) 2021-07-27 15:59:50 +02:00
services barrier: remove tray option (#2215) 2021-07-26 09:16:00 -06:00
targets Move platform check into modules 2021-07-18 20:43:22 +02:00
default.nix modules: don't reference deprecated stdenv.lib (#1770) 2021-02-01 09:52:05 -05:00
files.nix files: minor cleanup 2021-06-28 23:17:00 +02:00
home-environment.nix nixos: add nix package to activation script path 2021-07-23 23:18:15 +02:00
manual.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
modules.nix trayer: add module (#2177) 2021-07-24 00:29:49 +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 Remove a few format exceptions 2021-07-18 23:34:50 +02:00
xcursor.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xresources.nix xresources: Add path configuration option (#2141) 2021-06-28 00:50:40 -06:00
xsession.nix Move platform check into modules 2021-07-18 20:43:22 +02:00