nix-community.nixvim/flake/flake-modules/nixvimConfigurations.nix
2025-01-19 17:47:17 +00:00

21 lines
567 B
Nix

{ lib, flake-parts-lib, ... }:
let
configurationType = lib.mkOptionType {
name = "configuration";
description = "configuration";
descriptionClass = "noun";
merge = lib.options.mergeOneOption;
check = x: x._type or null == "configuration";
};
in
flake-parts-lib.mkTransposedPerSystemModule {
name = "nixvimConfigurations";
option = lib.mkOption {
type = lib.types.lazyAttrsOf configurationType;
default = { };
description = ''
An attribute set of Nixvim configurations.
'';
};
file = ./nixvimConfigurations.nix;
}