mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 20:54:56 +02:00
docs: Allow to install man pages (#687)
This commit is contained in:
parent
e45be89f12
commit
541b694873
7 changed files with 55 additions and 14 deletions
|
@ -1,4 +1,7 @@
|
|||
modules: {
|
||||
{
|
||||
modules,
|
||||
self,
|
||||
}: {
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
|
@ -32,7 +35,11 @@ in {
|
|||
config =
|
||||
mkIf cfg.enable
|
||||
(mkMerge [
|
||||
{home.packages = [cfg.finalPackage];}
|
||||
{
|
||||
home.packages =
|
||||
[cfg.finalPackage]
|
||||
++ (lib.optional cfg.enableMan self.packages.${pkgs.system}.man-docs);
|
||||
}
|
||||
(mkIf (!cfg.wrapRc) {
|
||||
xdg.configFile = files;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue