From 165cde749fc899d4c86eb6de97d3b7c4373eb7b3 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Wed, 25 Sep 2024 00:17:41 +0530 Subject: Using more descriptive option names. --- modules/tools/editor/default.nix | 2 +- modules/tools/editor/neovim/default.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/tools/editor') diff --git a/modules/tools/editor/default.nix b/modules/tools/editor/default.nix index 1a146bf..fd2da1a 100644 --- a/modules/tools/editor/default.nix +++ b/modules/tools/editor/default.nix @@ -1,4 +1,4 @@ -{ lib, config, ... }: +{ ... }: { imports = [ diff --git a/modules/tools/editor/neovim/default.nix b/modules/tools/editor/neovim/default.nix index e06ec88..6cf3b50 100644 --- a/modules/tools/editor/neovim/default.nix +++ b/modules/tools/editor/neovim/default.nix @@ -1,11 +1,11 @@ { pkgs, config, lib, ... }: { - options = { - neovim.enable = lib.mkEnableOption "Enables neovim."; + options.tools.editor.neovim = { + enable = lib.mkEnableOption "Enables neovim."; }; - config = lib.mkIf config.neovim.enable { + config = lib.mkIf config.tools.editor.neovim.enable { programs.neovim.enable = true; programs.neovim.viAlias = true; programs.neovim.vimAlias = true; -- cgit v1.2.3