repalce astrovim with nvchad

This commit is contained in:
2024-03-01 18:33:09 +05:30
parent 873d67fb40
commit b404c2b66f
11 changed files with 305 additions and 40 deletions

30
pkgs/nvchad/default.nix Normal file
View File

@ -0,0 +1,30 @@
{ lib, stdenv, pkgs }:
let
custom = ./custom;
in
stdenv.mkDerivation {
pname = "nvchad";
version = "2.0.0";
src = pkgs.fetchFromGitHub {
owner = "NvChad";
repo = "NvChad";
rev = "refs/heads/v2.0";
# sha256 = "sha256-tKMvKdB3jPSvcyewaOe8oak3pXhjAcLyyxgGMiMeqeU=";
};
installPhase = ''
mkdir $out
cp -r * "$out/"
mkdir -p "$out/lua/custom"
cp -r ${custom}/* "$out/lua/custom/"
'';
meta = with lib; {
description = "NvChad";
homepage = "https://github.com/NvChad/NvChad";
platforms = platforms.all;
license = licenses.gpl3;
};
}