Skip to content

Commit

Permalink
wip: full → main
Browse files Browse the repository at this point in the history
  • Loading branch information
ttak0422 committed Jul 21, 2024
1 parent 58eddbe commit f2ee1fe
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
7 changes: 5 additions & 2 deletions full.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,15 @@ rec {
depends = [
{
package = nvim-lint;
extraPackages = with pkgs; [ typos checkstyle ];
extraPackages = with pkgs; [
typos
checkstyle
];
postConfig = read ./lua/autogen/lint.lua;
}
{
package = copilot-lua;
extraPackages = with pkgs; [ nodejs ];
extraPackages = with pkgs; [ nodejs ];
postConfig = read ./lua/autogen/copilot.lua;
}
];
Expand Down
27 changes: 27 additions & 0 deletions main/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ self', pkgs, ... }:
let
inherit (pkgs.lib.strings) concatStringsSep;
inherit (pkgs.stdenv) mkDerivation;
read = builtins.readFile;
package = self'.packages.loaded-nvim-nightly;
extraPackages = [ ];
extraConfig = read ./../lua/autogen/prelude.lua;
after = { };

eager = {
morimo.package = pkgs.vimPlugins.morimo;
config-local.package = pkgs.vimPlugins.nvim-config-local;
};

lazy = { };
in
rec {
inherit
package
extraPackages
extraConfig
after
eager
lazy
;
}
1 change: 1 addition & 0 deletions neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

bundler-nvim = {
inherit (import ./full.nix params) v9 v11;
main = import ./main params;
};
};
}

0 comments on commit f2ee1fe

Please sign in to comment.