2023-02-10 17:40:13 +00:00
|
|
|
{inputs, ...}: {
|
|
|
|
perSystem = {
|
|
|
|
system,
|
|
|
|
config,
|
2023-02-10 17:50:20 +00:00
|
|
|
pkgs,
|
|
|
|
lib,
|
2023-02-10 17:40:13 +00:00
|
|
|
...
|
2023-02-10 17:50:20 +00:00
|
|
|
}: {
|
2023-02-10 17:40:13 +00:00
|
|
|
packages = let
|
|
|
|
docs = import ../docs {
|
|
|
|
inherit pkgs;
|
|
|
|
nmdSrc = inputs.nmd;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
# Documentation
|
|
|
|
docs = docs.manual.html;
|
|
|
|
docs-html = docs.manual.html;
|
|
|
|
docs-manpages = docs.manPages;
|
|
|
|
docs-json = docs.options.json;
|
|
|
|
|
|
|
|
# nvim configs
|
|
|
|
nix = config.legacyPackages.neovim-nix;
|
|
|
|
maximal = config.legacyPackages.neovim-maximal;
|
2023-02-15 09:05:18 +00:00
|
|
|
default = config.legacyPackages.neovim-nix;
|
2023-02-10 17:40:13 +00:00
|
|
|
}
|
|
|
|
// (
|
|
|
|
if !(builtins.elem system ["aarch64-darwin" "x86_64-darwin"])
|
|
|
|
then {tidal = config.legacyPackages.neovim-tidal;}
|
|
|
|
else {}
|
|
|
|
);
|
|
|
|
};
|
|
|
|
}
|