nix: add package to flake

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-17 17:52:12 +03:00
parent 6d2c485ff0
commit 75ecb87227
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,13 @@
nil = input.nil.packages.${system}.nil;
in
{
apps.default = {
type = "app";
program = "${neovim}/bin/nvim";
};
packages.default = neovim;
devShells.default = pkgs.mkShell {
packages = [
neovim
@ -23,5 +30,9 @@
pkgs.stylua # lua formatter
];
};
overlays = f: p: {
myneovim = neovim;
};
});
}