update nvim

This commit is contained in:
2024-03-01 19:56:19 +05:30
parent 39a0d56514
commit 92ebdc6674
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ inputs, pkgs, ... }: { { inputs, pkgs, ... }: {
xdg.configFile = { xdg.configFile."nvim" = {
source = "${pkgs.nvchad}"; source = "${pkgs.nvchad}";
}; };
@ -21,11 +21,15 @@
packages = with pkgs; [ packages = with pkgs; [
gcc gcc
neovide neovide
# nix # nix
statix # Lints and suggestions for the nix programming language statix # Lints and suggestions for the nix programming language
deadnix # Find and remove unused code in .nix source files deadnix # Find and remove unused code in .nix source files
alejandra # Nix Code Formatter alejandra # Nix Code Formatter
# lua
luarocks
gdu gdu
ripgrep ripgrep
]; ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, pkgs }: { stdenv, lib, fetchFromGitHub }:
let let
custom = ./custom; custom = ./custom;
@ -7,11 +7,11 @@ stdenv.mkDerivation {
pname = "nvchad"; pname = "nvchad";
version = "2.0.0"; version = "2.0.0";
src = pkgs.fetchFromGitHub { src = fetchFromGitHub {
owner = "NvChad"; owner = "NvChad";
repo = "NvChad"; repo = "NvChad";
rev = "refs/heads/v2.0"; rev = "refs/heads/v2.0";
sha256 = "sha256-x1y2SkoLNwu0NzmnKxUfl5UQG+SIcW87FhpyZMEHuU8="; sha256 = "sha256-tKMvKdB3jPSvcyewaOe8oak3pXhjAcLyyxgGMiMeqeU=";
}; };
installPhase = '' installPhase = ''