mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
template/simple: simplify flake definition
This commit is contained in:
parent
56bda1f1c1
commit
7af65ccae4
1 changed files with 2 additions and 4 deletions
|
@ -11,9 +11,7 @@
|
|||
nixvim,
|
||||
flake-parts,
|
||||
...
|
||||
} @ inputs: let
|
||||
config = import ./config; # import the module directly
|
||||
in
|
||||
} @ inputs:
|
||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
|
@ -31,7 +29,7 @@
|
|||
nixvim' = nixvim.legacyPackages.${system};
|
||||
nixvimModule = {
|
||||
inherit pkgs;
|
||||
module = config;
|
||||
module = import ./config; # import the module directly
|
||||
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
||||
extraSpecialArgs = {
|
||||
# inherit (inputs) foo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue