mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-19 00:39:36 +02:00
flake.nix: refactoring using flake-parts
This commit is contained in:
parent
1f1065df1e
commit
31284ddabe
13 changed files with 320 additions and 202 deletions
21
flake-modules/overlays.nix
Normal file
21
flake-modules/overlays.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.flake-parts.flakeModules.easyOverlay
|
||||
];
|
||||
perSystem = {
|
||||
config,
|
||||
pkgs,
|
||||
final,
|
||||
...
|
||||
}: {
|
||||
overlayAttrs = {
|
||||
nixvim = {
|
||||
inherit
|
||||
(config.legacyPackages)
|
||||
makeNixvim
|
||||
makeNixvimWithModule
|
||||
;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue