1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 18:08:32 +02:00
home-manager/modules
Andrew Marshall 478610aa37
neovim: Source neovimRcContent directly from store (#3444)
The previous version linked the file into home, then sourced that. Since
nothing else expects that file to be there, this is unnecessary.
Additionally, doing so made it impossible to test a built config without
switching, e.g. using `XDG_CONFIG_HOME=… nvim` or `nvim -u`. This
remedies that, at least for this particular reference.

To test this, change from asserting contents of the config file to
actually starting nvim, outputting sentinel values, and then asserting
their values are present. This way it’s tested that nvim loaded the
config, rather than that some config is in a specific place.

This is all in one commit as the test, as written now, would not have
worked before since the previously hard-coded home path was not an
actual file in the test environment.
2022-11-30 17:19:31 +01:00
..
accounts email: fix the office365 smtp host (#3191) 2022-08-29 21:48:12 -04:00
config treewide: replace <link> by <xref> where appropriate 2022-08-26 00:07:08 +02:00
i18n/input-method im/fcitx5: add GLFW_IM_MODULE session variable 2022-10-16 21:42:32 +02:00
launchd darwin: use full path to commands in activation script 2022-11-05 12:14:08 +09:00
lib thunderbird: add module 2022-11-04 16:12:12 +01:00
lib-bash lib/bash: remove unused Bash library files 2022-10-13 11:56:46 +02:00
misc ssh: make news item conditional 2022-11-29 13:25:48 +01:00
po Translate using Weblate (Dutch) 2022-11-21 16:35:25 +01:00
programs neovim: Source neovimRcContent directly from store (#3444) 2022-11-30 17:19:31 +01:00
services pueue: fix for empty settings 2022-11-29 17:39:24 +01:00
targets darwin: use full path to commands in activation script 2022-11-05 12:14:08 +09:00
default.nix Add lib argument to homeManagerConfiguration (#2753) 2022-04-17 18:14:41 -04:00
files.nix nix: add support for nix profile 2022-03-26 15:11:28 +01:00
home-environment.nix home-environment: reset PATH in activation script 2022-11-07 15:09:36 +01:00
manual.nix format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
modules.nix thunderbird: add module 2022-11-04 16:12:12 +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: fix systemctlPath default text 2022-11-07 15:09:35 +01:00
xresources.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsession.nix xsession: add xplugd service to accompany setxkbmap (#2450) 2021-12-23 15:38:44 -05:00