rb
This commit is contained in:
parent
60f72db49c
commit
71a3f65932
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
./misc
|
||||
./gdm
|
||||
./ssh
|
||||
./nvchad
|
||||
];
|
||||
}
|
||||
|
|
22
modules/nvchad/default.nix
Normal file
22
modules/nvchad/default.nix
Normal 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/
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -11,8 +11,6 @@
|
|||
lutris
|
||||
mangohud
|
||||
#hackerman
|
||||
neovim
|
||||
vim
|
||||
fastfetch
|
||||
freshfetch
|
||||
cmatrix
|
||||
|
|
Loading…
Reference in a new issue