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} = {
imports = [
./home.nix
./vim.nix
./wallpaper.nix
./picom.nix
./i3.nix

@ -27,12 +27,12 @@ in
# Command line utilities
wget
neofetch
vim
ranger
trash-cli # aliased to rm in .bashrc
# GUI applications
firefox
discord
];
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