From 56131d65d1a9bcb0613c84d04525a754b67caf87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Sun, 19 Nov 2023 19:40:35 +0100 Subject: [PATCH] fix: nvim pager --- modules/config/users.nix | 1 + users/common/shells/pager.nix | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/config/users.nix b/modules/config/users.nix index 9e1eb37..7bbd236 100644 --- a/modules/config/users.nix +++ b/modules/config/users.nix @@ -15,6 +15,7 @@ wireshark = uidGid 206; polkituser = uidGid 207; msr = uidGid 208; + avahi = uidGid 209; systemd-oom = uidGid 300; systemd-coredump = uidGid 301; }; diff --git a/users/common/shells/pager.nix b/users/common/shells/pager.nix index f964e75..e430657 100644 --- a/users/common/shells/pager.nix +++ b/users/common/shells/pager.nix @@ -2,8 +2,8 @@ pkgs, lib, ... -}: { - home.sessionVariables.MANPAGER = lib.getExe (pkgs.nixvim.makeNixvim { +}: let + exe = lib.getExe (pkgs.nixvim.makeNixvim { package = pkgs.neovim-clean; options = { @@ -62,4 +62,6 @@ } ]; }); +in { + home.sessionVariables.MANPAGER = "${exe} '+Man!'"; }