This commit is contained in:
iFargle 2023-07-01 18:54:47 +09:00
parent 85bc364288
commit 4bb98831f1
2 changed files with 29 additions and 28 deletions

View file

@ -1,8 +1,8 @@
programs.git = { programs.git = {
enable = true; enable = true;
userName = "albert"; userName = "albert";
userEmail = "albert@sysctl.io"; userEmail = "albert@sysctl.io";
extraConfig = { extraConfig = {
credential.helper = "cache --timeout=25920000"; credential.helper = "cache --timeout=25920000";
}; };
}; };

View file

@ -1,20 +1,21 @@
programs.vim = { # https://nixos.wiki/wiki/Vim
enable = true; programs.vim = {
plugins = with pkgs.vimPlugins; [ vim-airline ]; enable = true;
settings = { ignorecase = true; }; plugins = with pkgs.vimPlugins; [ vim-airline ];
extraConfig = '' settings = { ignorecase = true; };
set mouse=a extraConfig = ''
set number set mouse=a
syntax on set number
set hlsearch syntax on
set ignorecase set hlsearch
set smartcase set ignorecase
set autoindent set smartcase
set ruler set autoindent
set shiftwidth=2 set ruler
set expandtab set shiftwidth=2
set softtabstop=2 set expandtab
colorscheme slate set softtabstop=2
set cursorline colorscheme slate
''; set cursorline
}; '';
};