modules/neovim: separate options; move package into core/build

This commit is contained in:
raf 2024-02-19 11:18:18 +03:00
commit 199a8b06c5
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
9 changed files with 258 additions and 211 deletions

View file

@ -1,5 +1,6 @@
{
config,
pkgs,
lib,
...
}: let
@ -90,6 +91,14 @@
in {
options = {
vim = {
package = mkOption {
type = types.package;
default = pkgs.neovim-unwrapped;
description = ''
The neovim package to use. You will need to use an unwrapped package for this option to work as intended.
'';
};
viAlias = mkOption {
description = "Enable vi alias";
type = types.bool;