diff --git a/common/dotfiles/git.nix b/common/dotfiles/git.nix index 26d51817..b3849f96 100644 --- a/common/dotfiles/git.nix +++ b/common/dotfiles/git.nix @@ -1,8 +1,8 @@ - programs.git = { - enable = true; - userName = "albert"; - userEmail = "albert@sysctl.io"; - extraConfig = { - credential.helper = "cache --timeout=25920000"; - }; - }; \ No newline at end of file +programs.git = { + enable = true; + userName = "albert"; + userEmail = "albert@sysctl.io"; + extraConfig = { + credential.helper = "cache --timeout=25920000"; + }; +}; \ No newline at end of file diff --git a/common/dotfiles/vim.nix b/common/dotfiles/vim.nix index a25d5f02..ef111c41 100644 --- a/common/dotfiles/vim.nix +++ b/common/dotfiles/vim.nix @@ -1,20 +1,21 @@ - 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 - ''; - }; \ No newline at end of file +# 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 + ''; +}; \ No newline at end of file