From 9ff63ae499693b39ad4ddae2983bdf92a4b63d13 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 20 Feb 2021 14:13:37 +0000 Subject: [PATCH] home: add bat --- home/bat.nix | 9 +++++++++ home/default.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 home/bat.nix diff --git a/home/bat.nix b/home/bat.nix new file mode 100644 index 0000000..046850b --- /dev/null +++ b/home/bat.nix @@ -0,0 +1,9 @@ +{ config, ... }: +{ + programs.bat = { + enable = true; + config = { + pager = with config.home.sessionVariables; "${PAGER} ${LESS}"; + }; + }; +} diff --git a/home/default.nix b/home/default.nix index 1751184..e30b2e4 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,6 +1,7 @@ { ... }: { imports = [ + ./bat.nix ./direnv.nix ./documentation.nix ./git