flake: export neovimConfigured instead of wrapped package under unwrapped

This commit is contained in:
Anthony Rodriguez 2024-12-04 16:24:41 +01:00
parent 5657310b77
commit 360cde3982
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
3 changed files with 550 additions and 318 deletions

View file

@ -174,9 +174,8 @@
}; };
}; };
autocomplete = { autocomplete.nvim-cmp = {
enable = true; enable = true;
alwaysComplete = true;
}; };
autopairs.enable = true; autopairs.enable = true;

File diff suppressed because it is too large Load diff

View file

@ -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";
}; };
} }