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