nix/modules/nvchad/default.nix

24 lines
456 B
Nix
Raw Normal View History

2024-07-03 22:28:11 +02:00
{ stdenv, pkgs, fetchFromGithub, ... }:
2024-07-03 22:19:07 +02:00
{
nvchad = stdenv.mkDerivation rec {
pname = "nvchad";
version = "";
dontBuild = true;
src = pkgs.fetchFromGitHub {
owner = "NvChad";
repo = "NvChad";
rev = "c8777040fbda6a656f149877b796d120085cd918";
sha256 = "sha256-J4SGwo/XkKFXvq+Va1EEBm8YOQwIPPGWH3JqCGpFnxY=";
};
installPhase = ''
# Fetch the whole repo and put it in $out
mkdir $out
cp -aR $src/* $out/
'';
};
}
2024-07-03 22:28:11 +02:00