Changed: Neovim Conf
This commit is contained in:
		@@ -1,26 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  pkgs,
 | 
			
		||||
  config,
 | 
			
		||||
  inputs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
    programs.nvchad = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        neovim = pkgs.neovim;
 | 
			
		||||
        extraPackages = with pkgs; [
 | 
			
		||||
          nodePackages.bash-language-server
 | 
			
		||||
          docker-compose-language-service
 | 
			
		||||
          dockerfile-language-server-nodejs
 | 
			
		||||
          emmet-language-server
 | 
			
		||||
          nixd
 | 
			
		||||
          (python3.withPackages(ps: with ps; [
 | 
			
		||||
            python-lsp-server
 | 
			
		||||
            flake8
 | 
			
		||||
          ]))
 | 
			
		||||
        ];
 | 
			
		||||
        hm-activation = true;
 | 
			
		||||
        backup = true;
 | 
			
		||||
    };
 | 
			
		||||
    
 | 
			
		||||
    environment.variables.EDITOR = "nvim";
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								home/programs/neovim.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								home/programs/neovim.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
{
 | 
			
		||||
  pkgs,
 | 
			
		||||
  config,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
    programs.neovim = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        defaultEditor = true;
 | 
			
		||||
        viAlias = true;
 | 
			
		||||
        vimAlias = true;
 | 
			
		||||
        vimdiffAlias = true;
 | 
			
		||||
 | 
			
		||||
        plugins = with pkgs.vimPlugins; [
 | 
			
		||||
            nvim-tree-lua
 | 
			
		||||
            nvim-treesitter
 | 
			
		||||
            nvim-treesitter.withAllGrammars
 | 
			
		||||
        ];
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
@@ -10,7 +10,6 @@
 | 
			
		||||
    
 | 
			
		||||
    ../../home/hyprland
 | 
			
		||||
    ../../home/programs
 | 
			
		||||
    ../../home/neovim 
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  programs.git = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user