This commit is contained in:
joygnu 2024-07-03 22:19:07 +02:00
parent 60f72db49c
commit 71a3f65932
4 changed files with 40 additions and 2 deletions

View file

@ -21,6 +21,23 @@
EDITOR = "vim";
};
programs.neovim = {
enable = true;
extraConfig = ''
set number relativenumber
'';
};
programs.neovim.plugins = [
pkgs.vimPlugins.nvim-tree-lua
{
plugin = pkgs.vimPlugins.vim-startify;
config = "let g:startify_change_to_vcs_root = 0";
}
];
colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-medium;
}

View file

@ -7,5 +7,6 @@
./misc
./gdm
./ssh
./nvchad
];
}

View file

@ -0,0 +1,22 @@
{ stdenv, pkgs, fetchFromGithub }:
{
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/
'';
};
}

View file

@ -11,8 +11,6 @@
lutris
mangohud
#hackerman
neovim
vim
fastfetch
freshfetch
cmatrix