mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 13:22:34 +02:00
3478a9a0a5
Signed-off-by: Hadi <hadi@example.com>
38 lines
647 B
Nix
38 lines
647 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 = [
|
|
inputs.nvf.homeManagerModules.default
|
|
./default.nix
|
|
];
|
|
};
|
|
}
|