summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.nix4
-rw-r--r--lib/packages.nix1
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/common.nix b/lib/common.nix
index a24de04..822cf40 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -10,11 +10,11 @@ in
packages = import ./packages.nix { inherit pkgs; };
sessionVariables = {
GPGID = gpgid;
- EDITOR = "vim";
+ EDITOR = "${pkgs.vim}/bin/vim";
LANG = locale;
LANGUAGE = locale;
PATH = "${homedir}/bin:${homedir}/.local/bin:$PATH";
- PAGER = "vimpager";
+ PAGER = "${pkgs.bat}/bin/bat";
LEDGER_FILE = "${homedir}/.hledger.journal";
XTERM_LOCALE = locale;
PYTHONSTARTUP = "${homedir}/.pythonrc";
diff --git a/lib/packages.nix b/lib/packages.nix
index bcd6d55..2fbd246 100644
--- a/lib/packages.nix
+++ b/lib/packages.nix
@@ -22,6 +22,7 @@ let
in [
ag
aspellDicts.en
+bat
cabal2nix
cloc
ctags