1
0
Fork 0
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:
Matt Sturgeon 2025-11-24 10:58:52 +00:00
parent 947cb0aaed
commit 3dc952d69c
4 changed files with 9 additions and 19 deletions

View file

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