fix: remove unecessary neovim module
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./krita
|
||||
./neovim.nix
|
||||
./prismlauncher.nix
|
||||
./wezterm.nix
|
||||
];
|
||||
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user