set homepager conditionaly
This commit is contained in:
parent
2d030ab678
commit
b35c85bd16
1 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
let
|
||||
neovim = config.programs.neovim.enable;
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# lsp
|
||||
|
|
@ -44,7 +47,7 @@
|
|||
defaultEditor = true;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
home.sessionVariables = lib.mkIf neovim {
|
||||
MANPAGER = "nvim +Man!";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue