flake: export neovimConfigured instead of wrapped package under unwrapped
This commit is contained in:
parent
5657310b77
commit
360cde3982
3 changed files with 550 additions and 318 deletions
|
@ -174,9 +174,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
autocomplete = {
|
||||
autocomplete.nvim-cmp = {
|
||||
enable = true;
|
||||
alwaysComplete = true;
|
||||
};
|
||||
|
||||
autopairs.enable = true;
|
||||
|
|
854
flake.lock
854
flake.lock
File diff suppressed because it is too large
Load diff
11
flake.nix
11
flake.nix
|
@ -1,21 +1,20 @@
|
|||
{
|
||||
description = "nezia's nixos configuration";
|
||||
description = "nezia's nvf configuration";
|
||||
|
||||
outputs = {nixpkgs, ...} @ inputs: {
|
||||
packages."x86_64-linux" = let
|
||||
unwrapped = let
|
||||
inherit (nixpkgs.legacyPackages."x86_64-linux") pkgs;
|
||||
neovimConfigured = inputs.nvf.lib.neovimConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [./configuration];
|
||||
extraSpecialArgs = {inherit pkgs;};
|
||||
};
|
||||
in {
|
||||
default = neovimConfigured.neovim;
|
||||
};
|
||||
in
|
||||
neovimConfigured;
|
||||
};
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue