1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/tests/modules/programs
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
..
abook tests: add option test.stubs 2021-09-26 23:26:38 +02:00
aerc Add module for aerc (#3070) 2022-08-11 23:08:28 +02:00
alacritty tests: add option test.stubs 2021-09-26 23:26:38 +02:00
alot tests: add option test.stubs 2021-09-26 23:26:38 +02:00
aria2 tests: add option test.stubs 2021-09-26 23:26:38 +02:00
atuin bash: support bash completion 2022-08-07 15:25:44 +02:00
autojump tests: add option test.stubs 2021-09-26 23:26:38 +02:00
autorandr autorandr: add filter option (#2795) 2022-03-17 13:45:04 +01:00
bash bash: support bash completion 2022-08-07 15:25:44 +02:00
bat tests: add option test.stubs 2021-09-26 23:26:38 +02:00
borgmatic borgmatic: add module 2022-10-16 21:51:52 +02:00
bottom bottom: fix empty-settings test on darwin (#2603) 2022-01-01 20:28:45 -07:00
broot broot: fix config file location (#3273) 2022-09-27 12:19:02 +02:00
browserpass browserpass: add brave support 2022-03-27 01:12:50 +01:00
btop btop: add module 2022-09-05 14:34:37 +02:00
dircolors dircolors: apply extraConfig after settings (#1890) 2021-03-31 22:01:02 +02:00
direnv direnv: add enableFlakes option for enableNixDirenvIntegration (#2089) 2021-06-15 12:11:26 -04:00
emacs emacs: allow extraConfig to reference extraPackages 2022-05-26 00:34:17 +02:00
feh tests: add option test.stubs 2021-09-26 23:26:38 +02:00
firefox firefox: support setting search engines 2022-10-22 20:36:04 +02:00
fish tests: add option test.stubs 2021-09-26 23:26:38 +02:00
foot foot: set OOMPolicy=continue for foot server (#2749) 2022-02-22 20:15:28 +01:00
gallery-dl gallery-dl: add module 2022-09-09 11:56:37 +02:00
getmail getmail: fix configuration mailboxes generation (#1719) 2021-03-01 17:58:18 -05:00
gh gh: add extensions option 2022-08-12 20:49:50 +02:00
git git: add config helper for hooks 2022-09-08 11:05:07 +02:00
gnome-terminal tests: add option test.stubs 2021-09-26 23:26:38 +02:00
gpg treewide: apply nixfmt to a few more files 2022-02-27 02:19:44 +01:00
helix helix: fix test 2022-04-24 09:17:04 +02:00
hexchat hexchat: add module 2021-10-23 21:31:54 +02:00
himalaya himalaya: fix account.folders to new config syntax 2022-05-30 21:06:52 +02:00
htop htop: fix darwin defaults 2022-05-19 23:33:20 +02:00
hyfetch hyfetch: prevent writing config with default/empty settings (#3124) 2022-08-01 19:58:38 -04:00
i3status i3status: add package attribute 2022-10-20 10:04:30 +02:00
i3status-rust treewide: remove trailing white spaces and tabs 2022-06-21 00:55:32 +02:00
irssi irssi: add option for SASL external authentication 2022-10-31 09:28:49 +01:00
k9s k9s: add module 2022-10-25 00:05:50 +02:00
kakoune kakoune: clean up tests 2021-11-07 09:43:42 +01:00
kitty kitty: produce fewer empty lines 2022-08-26 00:17:05 +02:00
kodi kodi: add module 2022-01-26 23:56:25 +01:00
less less: store 'lesskey' under XDG_CONFIG_HOME 2021-12-08 11:23:56 +01:00
lf tests: add option test.stubs 2021-09-26 23:26:38 +02:00
lieer tests: add option test.stubs 2021-09-26 23:26:38 +02:00
looking-glass-client looking-glass-client: add module 2022-10-18 10:12:15 +02:00
man man: support building manual page index cache 2020-09-13 20:52:08 +02:00
mangohud tests: add option test.stubs 2021-09-26 23:26:38 +02:00
mbsync mbsync: extend config type with list of strings 2022-09-20 01:24:21 +02:00
micro micro: add module 2022-06-24 19:19:11 +02:00
mpv mpv: temporarily disable tests 2021-11-25 22:29:47 +01:00
mu mu: use absolute path to mu in activation block 2022-11-07 15:09:31 +01:00
mujmap mujmap: add module 2022-06-22 00:33:10 +02:00
ncmpcpp tests: add option test.stubs 2021-09-26 23:26:38 +02:00
ncmpcpp-linux tests: add option test.stubs 2021-09-26 23:26:38 +02:00
ne tests: add option test.stubs 2021-09-26 23:26:38 +02:00
neomutt neomutt: add support for signature command (#2899) 2022-04-29 14:01:53 -06:00
neovim neovim: Source neovimRcContent directly from store (#3444) 2022-11-30 17:19:31 +01:00
newsboat tests: add option test.stubs 2021-09-26 23:26:38 +02:00
nheko nheko: add module 2022-09-08 19:09:30 +02:00
nix-index tests: add option test.stubs 2021-09-26 23:26:38 +02:00
nnn tests/nnn: fix tests (#2746) 2022-02-21 14:17:22 -07:00
nushell nushell: add options 'extraConfig' and 'extraEnv' 2022-11-27 09:09:09 +01:00
oh-my-posh oh-my-posh: add module 2022-11-02 01:04:42 +01:00
pandoc pandoc: fix test case 2022-04-08 00:06:23 +02:00
pet pet: fix settings format issue 2021-11-17 23:42:21 +01:00
pistol pistol: add module 2022-06-25 01:00:32 +02:00
pls pls: add module (#3285) 2022-09-30 12:53:39 -04:00
powerline-go powerline-go: add support for -modules-right 2021-12-03 17:58:03 +01:00
pubs pubs: add module 2022-03-06 10:40:28 +01:00
qutebrowser tests: add option test.stubs 2021-09-26 23:26:38 +02:00
rbw tests: add option test.stubs 2021-09-26 23:26:38 +02:00
readline readline: fix example 2020-02-02 01:20:05 +01:00
rofi rofi: allow extending themes (#2571) 2022-01-09 17:15:24 -05:00
rofi-pass tests: add option test.stubs 2021-09-26 23:26:38 +02:00
sagemath sagemath: add module 2022-01-11 14:38:02 +01:00
sbt sbt: cache passwordCommand output 2022-10-07 00:40:50 +02:00
scmpuff scmpuff: add fish integration flag 2022-11-21 23:51:05 +01:00
sioyek sioyek: enable multiple bindings for the same command 2022-10-08 22:11:55 +02:00
sm64ex tests: add option test.stubs 2021-09-26 23:26:38 +02:00
ssh ssh: add generic Match support for matchBlocks (#2992) 2022-11-27 16:15:32 +01:00
starship tests: add option test.stubs 2021-09-26 23:26:38 +02:00
swaylock swaylock: Add module (#3003) 2022-06-07 21:01:14 +02:00
taskwarrior taskwarrior: make .taskrc writable (#2761) 2022-04-07 13:29:53 -04:00
terminator tests: add option test.stubs 2021-09-26 23:26:38 +02:00
texlive texlive: remove upstream dependency in tests 2020-06-06 16:43:17 +02:00
thunderbird thunderbird: add module 2022-11-04 16:12:12 +01:00
tmate tmate: add module 2022-09-26 00:28:00 +02:00
tmux tmux: add notes to existing keybindings (#2540) (#2742) 2022-03-19 19:12:21 -04:00
topgrade tests: add option test.stubs 2021-09-26 23:26:38 +02:00
vscode vscode: add userTasks test 2022-11-03 10:36:21 +01:00
watson watson: add module 2022-01-22 16:12:34 +01:00
waybar waybar: fix command not found when reloading (#2865) 2022-04-16 18:31:03 -04:00
wezterm wezterm: support color schemes 2022-08-14 20:57:22 +02:00
xmobar tests: add option test.stubs 2021-09-26 23:26:38 +02:00
yt-dlp yt-dlp: add settings option 2022-09-22 00:09:35 +02:00
zplug flake: Expose tests to allow running purely (#3412) 2022-11-27 01:37:24 +01:00
zsh zsh: move sessionVariables from .zshrc to .zshenv (#2708) 2022-02-17 10:20:56 +01:00