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 = {
enable = true;
userName = "albert";
userEmail = "albert@sysctl.io";
extraConfig = {
credential.helper = "cache --timeout=25920000";
{ config, pkgs, ... }: {
programs.git = {
enable = true;
userName = "albert";
userEmail = "albert@sysctl.io";
extraConfig = {
credential.helper = "cache --timeout=25920000";
};
};
};
}

View file

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