nix-community.nixvim/flake/flake-modules/nixvimConfigurations.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
567 B
Nix
Raw Normal View History

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