mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
nix-less hm config ready
This commit is contained in:
parent
f28ec054cd
commit
1d170da221
11 changed files with 63 additions and 160 deletions
|
|
@ -10,11 +10,6 @@ in
|
|||
home.packages = with pkgs; [
|
||||
nix-init
|
||||
nix-prefetch-git
|
||||
|
||||
glibc
|
||||
gcc
|
||||
|
||||
docker
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
|||
\| endif
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'joshdick/onedark.vim'
|
||||
Plug 'petobens/colorish'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||
|
|
@ -26,7 +26,8 @@ call plug#begin('~/.vim/plugged')
|
|||
call plug#end()
|
||||
|
||||
let mapleader = "\<Space>"
|
||||
colorscheme onedark
|
||||
set background=dark
|
||||
colorscheme onedarkish
|
||||
|
||||
highlight CursorLine ctermbg=NONE guibg=NONE
|
||||
highlight CursorLineNr ctermfg=magenta guifg=magenta
|
||||
|
|
|
|||
|
|
@ -7,8 +7,12 @@ let
|
|||
in
|
||||
{ options.modules.user.utils.vim = { enable = mkEnableOption "user.utils.vim"; };
|
||||
config = mkIf cfg.enable {
|
||||
programs.bash.shellAliases = {
|
||||
vi = "${pkgs.vim}/bin/vim";
|
||||
};
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
packages = with pkgs; [
|
||||
vim
|
||||
];
|
||||
file.".vim" = {
|
||||
|
|
@ -16,8 +20,5 @@ in
|
|||
recursive = true;
|
||||
};
|
||||
};
|
||||
programs.bash.shellAliases = {
|
||||
vi = "${pkgs.vim}/bin/vim";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue