mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 21:32:33 +02:00
5945a72b01
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
33 lines
583 B
Nix
33 lines
583 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
system,
|
|
...
|
|
}: let
|
|
nvimConfig = inputs.nvf.lib.neovimConfiguration {
|
|
inherit pkgs;
|
|
modules = [
|
|
./options.nix
|
|
./languages.nix
|
|
./picker.nix
|
|
./snacks.nix
|
|
./keymaps.nix
|
|
./utils.nix
|
|
./mini.nix
|
|
];
|
|
};
|
|
in {
|
|
packages.${system}.nvim = nvimConfig.neovim;
|
|
|
|
apps.${system}.nvim = {
|
|
type = "app";
|
|
program = "${nvimConfig.neovim}/bin/nvim";
|
|
};
|
|
defaultApp.${system} = {
|
|
type = "app";
|
|
program = "${nvimConfig.neovim}/bin/nvim";
|
|
};
|
|
|
|
homeManagerModules.nvim = {imports = [./default.nix];};
|
|
}
|