rb
This commit is contained in:
parent
71a3f65932
commit
a639fd0738
|
@ -18,24 +18,16 @@
|
|||
home.stateVersion = "23.11";
|
||||
programs.home-manager.enable = true;
|
||||
home.sessionVariables = {
|
||||
EDITOR = "vim";
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
set number relativenumber
|
||||
'';
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
|
||||
programs.neovim.plugins = [
|
||||
pkgs.vimPlugins.nvim-tree-lua
|
||||
{
|
||||
plugin = pkgs.vimPlugins.vim-startify;
|
||||
config = "let g:startify_change_to_vcs_root = 0";
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
# basically copy the whole nvchad that is fetched from github to ~/.config/nvim
|
||||
xdg.configFile."nvim/" = {
|
||||
source = (pkgs.callPackage ./nvchad/default.nix{}).nvchad;
|
||||
};
|
||||
|
||||
|
||||
colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-medium;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, pkgs, fetchFromGithub }:
|
||||
{ stdenv, pkgs, fetchFromGithub, ... }:
|
||||
|
||||
{
|
||||
nvchad = stdenv.mkDerivation rec {
|
||||
|
@ -20,3 +20,4 @@ nvchad = stdenv.mkDerivation rec {
|
|||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -54,5 +54,7 @@
|
|||
yt-dlp
|
||||
boxbuddy
|
||||
distrobox
|
||||
neovim
|
||||
stdenv.mkDerivation
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue