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;
|
enable = true;
|
||||||
alwaysComplete = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
autopairs.enable = 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: {
|
outputs = {nixpkgs, ...} @ inputs: {
|
||||||
packages."x86_64-linux" = let
|
unwrapped = let
|
||||||
inherit (nixpkgs.legacyPackages."x86_64-linux") pkgs;
|
inherit (nixpkgs.legacyPackages."x86_64-linux") pkgs;
|
||||||
neovimConfigured = inputs.nvf.lib.neovimConfiguration {
|
neovimConfigured = inputs.nvf.lib.neovimConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [./configuration];
|
modules = [./configuration];
|
||||||
extraSpecialArgs = {inherit pkgs;};
|
extraSpecialArgs = {inherit pkgs;};
|
||||||
};
|
};
|
||||||
in {
|
in
|
||||||
default = neovimConfigured.neovim;
|
neovimConfigured;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
nvf.url = "github:notashelf/nvf";
|
nvf.url = "github:notashelf/nvf";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue