mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 18:19:11 +00:00
flake-parts/setups: refactor Nixvim instance option module
This commit is contained in:
parent
ee285c2004
commit
1c08463334
@ -1,7 +1,5 @@
|
||||
{ lib, ... }: {
|
||||
options.nixvim = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
options = {
|
||||
options.nixvim = {
|
||||
instance = lib.mkOption {
|
||||
type = with lib.types; nullOr str;
|
||||
default = null;
|
||||
@ -21,12 +19,4 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
default = { };
|
||||
description = ''
|
||||
An optional NixVim inclusion for the environment. Take note, this
|
||||
will override whatever Neovim configuration from your environment so
|
||||
be sure to only use this if you have none.
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user