diff --git a/home/bat/default.nix b/home/bat/default.nix index 94ddad6..16641be 100644 --- a/home/bat/default.nix +++ b/home/bat/default.nix @@ -20,7 +20,7 @@ }; home.sessionVariables = lib.mkIf config.home.preferXdgDirectories { - BATDIFF_USE_DELTA = true; + BATDIFF_USE_DELTA = "true"; }; programs.fish = lib.mkIf config.programs.fish.enable { diff --git a/home/less/default.nix b/home/less/default.nix index 34203f1..3761235 100644 --- a/home/less/default.nix +++ b/home/less/default.nix @@ -1,14 +1,8 @@ -{ - lib, - config, - ... -}: { +{...}: { programs.less.enable = true; - programs.fish = lib.mkIf config.programs.fish.enable { - interactiveShellInit = '' - set -gx LESS -R - ''; + home.sessionVariables = { + LESS = "-R"; }; programs.lesspipe.enable = true;