1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 03:56:05 +01:00
nixvim/flake-modules/lib.nix
2024-05-05 22:00:40 +02:00

17 lines
285 B
Nix

{
config,
lib,
withSystem,
...
}:
{
flake.lib = lib.genAttrs config.systems (
lib.flip withSystem (
{ pkgs, config, ... }:
import ../lib {
inherit pkgs lib;
inherit (config.legacyPackages) makeNixvim makeNixvimWithModule;
}
)
);
}