lib/helpers: factor out nixvimUtils

This commit is contained in:
Gaetan Lepage 2024-01-25 16:58:58 +01:00 committed by Gaétan Lepage
parent 98dbe8a89b
commit 7164a89f72
3 changed files with 35 additions and 45 deletions

View file

@ -1,11 +1,10 @@
{
lib,
mkIf,
mkIfNonNull,
mkRaw,
nixvimTypes,
nixvimUtils,
}:
with lib; rec {
with lib;
with nixvimUtils; rec {
# Creates an option with a nullable type that defaults to null.
mkNullOrOption = type: desc:
lib.mkOption {