From fb8b2ca8968ef1db4333477fbf556651432c0b8e Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Mon, 9 Dec 2024 09:25:48 -0300 Subject: [PATCH] fix: remove unecessary neovim module --- modules/home-manager/programs/default.nix | 1 - modules/home-manager/programs/neovim.nix | 32 ----------------------- 2 files changed, 33 deletions(-) delete mode 100644 modules/home-manager/programs/neovim.nix diff --git a/modules/home-manager/programs/default.nix b/modules/home-manager/programs/default.nix index 8341098..0686380 100644 --- a/modules/home-manager/programs/default.nix +++ b/modules/home-manager/programs/default.nix @@ -2,7 +2,6 @@ imports = [ ./hyprland.nix ./krita - ./neovim.nix ./prismlauncher.nix ./wezterm.nix ]; diff --git a/modules/home-manager/programs/neovim.nix b/modules/home-manager/programs/neovim.nix deleted file mode 100644 index a0c2bd5..0000000 --- a/modules/home-manager/programs/neovim.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - cfg = config.programs.neovim; -in { - imports = []; - config = with lib; - mkIf cfg.enable { - programs.neovim = { - viAlias = true; - vimAlias = true; - withNodeJs = true; - defaultEditor = true; - }; - - home.sessionVariables = mkIf cfg.defaultEditor { - EDITOR = "nvim"; - }; - - home.packages = with pkgs; [ - git - lazygit - gcc - wget - alejandra - stylua - ]; - }; -}