fix: nvim pager

This commit is contained in:
Patrick Großmann 2023-11-19 19:40:35 +01:00
parent 1d56632a72
commit 56131d65d1
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 5 additions and 2 deletions

View file

@ -15,6 +15,7 @@
wireshark = uidGid 206; wireshark = uidGid 206;
polkituser = uidGid 207; polkituser = uidGid 207;
msr = uidGid 208; msr = uidGid 208;
avahi = uidGid 209;
systemd-oom = uidGid 300; systemd-oom = uidGid 300;
systemd-coredump = uidGid 301; systemd-coredump = uidGid 301;
}; };

View file

@ -2,8 +2,8 @@
pkgs, pkgs,
lib, lib,
... ...
}: { }: let
home.sessionVariables.MANPAGER = lib.getExe (pkgs.nixvim.makeNixvim { exe = lib.getExe (pkgs.nixvim.makeNixvim {
package = pkgs.neovim-clean; package = pkgs.neovim-clean;
options = { options = {
@ -62,4 +62,6 @@
} }
]; ];
}); });
in {
home.sessionVariables.MANPAGER = "${exe} '+Man!'";
} }