Move Vim to home manager configuration file, add two space indent config

inky
Elnu 2 years ago
parent e2d7b7ce99
commit 9cda4c7f60

@ -30,6 +30,7 @@
home-manager.users.${user} = { home-manager.users.${user} = {
imports = [ imports = [
./home.nix ./home.nix
./vim.nix
./wallpaper.nix ./wallpaper.nix
./picom.nix ./picom.nix
./i3.nix ./i3.nix

@ -27,12 +27,12 @@ in
# Command line utilities # Command line utilities
wget wget
neofetch neofetch
vim
ranger ranger
trash-cli # aliased to rm in .bashrc trash-cli # aliased to rm in .bashrc
# GUI applications # GUI applications
firefox firefox
discord
]; ];
file = { file = {

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
programs.vim = {
enable = true;
# Temporary configuration for editing Nix files
extraConfig = ''
set syntax
set autoindent
set expandtab
set tabstop=2
set shiftwidth=2;
'';
};
}
Loading…
Cancel
Save