aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/communication/neomutt/neomutt.nix2
-rw-r--r--modules/development/nixvim/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/communication/neomutt/neomutt.nix b/modules/communication/neomutt/neomutt.nix
index 7008433..1197e43 100644
--- a/modules/communication/neomutt/neomutt.nix
+++ b/modules/communication/neomutt/neomutt.nix
@@ -50,7 +50,7 @@
extraConfig = ''
# Read messages in Neovim. `-` makes Neovim read the message from
# stdin and -R prevents accidental edits to message content.
- set pager = "nvim -R -n +'setlocal nolist | silent! 1,2g/^$/delete _ | nohlsearch | setlocal nomodified nomodifiable' -"
+ set pager = "${lib.getExe config.development.nixvim.package} -R -n +'setlocal nolist | silent! 1,2g/^$/delete _ | nohlsearch | setlocal nomodified nomodifiable' -"
# Return directly to the index when Neovim exits and do not prepend
# NeoMutt’s pager status line to the message passed to Neovim.
set noprompt_after
diff --git a/modules/development/nixvim/default.nix b/modules/development/nixvim/default.nix
index c493b57..bf3d143 100644
--- a/modules/development/nixvim/default.nix
+++ b/modules/development/nixvim/default.nix
@@ -12,7 +12,7 @@
package = lib.mkOption {
type = lib.types.package;
readOnly = true;
- default = config.programs.nixvim.package;
+ default = config.programs.nixvim.build.package;
description = "The nixvim package to use.";
};
};