home-manager/tests/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 tests: allow testing assertions 2021-02-07 22:48:22 +01:00
config/i18n i18n: set the appropriate LOCALE_ARCHIVE_x_xx variable (#1659) 2021-01-23 15:56:38 +01:00
files files: assert that target files are unique 2021-06-27 17:10:45 +02:00
home-environment treewide: apply nixfmt to a few more files 2022-02-27 02:19:44 +01:00
i18n/input-method kime: Fix kime systemd service broken (#2621) 2022-01-17 13:53:42 -05:00
launchd launchd: initial support for LaunchAgents 2022-02-26 10:32:19 +01:00
misc xdg-user-dirs: allow setting to null to skip setting 2022-11-13 10:38:54 +01:00
programs neovim: Source neovimRcContent directly from store (#3444) 2022-11-30 17:19:31 +01:00
services polybar: don't generate config if no options are set (#3383) 2022-11-27 01:17:28 +01:00
systemd systemd: name slice unit correctly 2022-10-07 16:07:53 +11:00
targets-darwin darwin: use full path to commands in activation script 2022-11-05 12:14:08 +09:00
targets-linux xdg.systemDirs: init module (#1797) 2021-05-10 20:14:42 -04:00
xresources xresources: add missing test file 2020-06-28 11:23:34 +02:00