mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-29 05:31:05 +01:00
flake: simplify legacyPackages definitions
- Remove the `makeNixvimWithModule` module arg. - Move standalone wrapper definitions to `wrappers.nix` - Move `nixvimConfiguration` alias to `nixvim-configurations.nix`
This commit is contained in:
parent
947cb0aaed
commit
3dc952d69c
4 changed files with 9 additions and 19 deletions
|
|
@ -8,13 +8,17 @@ let
|
|||
in
|
||||
{
|
||||
perSystem =
|
||||
{ system, ... }:
|
||||
{ config, system, ... }:
|
||||
let
|
||||
inherit (config.legacyPackages) makeNixvimWithModule;
|
||||
in
|
||||
{
|
||||
_module.args = {
|
||||
legacyPackages = {
|
||||
makeNixvimWithModule = import ../wrappers/standalone.nix {
|
||||
inherit lib self;
|
||||
defaultSystem = system;
|
||||
};
|
||||
makeNixvim = module: makeNixvimWithModule { inherit module; };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue