mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-20 02:35:52 +02:00
helpers: add mkPackageOption + refactoring (#144)
This commit is contained in:
parent
b9a5c9c2b5
commit
b724085447
58 changed files with 94 additions and 258 deletions
|
@ -10,11 +10,7 @@ in
|
|||
plugins.dashboard = {
|
||||
enable = mkEnableOption "dashboard";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.dashboard-nvim;
|
||||
description = "Plugin to use for dashboard-nvim";
|
||||
};
|
||||
package = helpers.mkPackageOption "dashboard" pkgs.vimPlugins.dashboard-nvim;
|
||||
|
||||
header = mkOption {
|
||||
description = "Header text";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue