This commit is contained in:
iFargle 2023-07-01 19:02:59 +09:00
parent 71f5e48ce4
commit 1c69095b11
2 changed files with 32 additions and 28 deletions

View file

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

View file

@ -1,21 +1,23 @@
# https://nixos.wiki/wiki/Vim { config, pkgs, ... }: {
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
}; '';
};
}