Move Vim to home manager configuration file, add two space indent config
This commit is contained in:
parent
e2d7b7ce99
commit
9cda4c7f60
3 changed files with 17 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
home-manager.users.${user} = {
|
||||
imports = [
|
||||
./home.nix
|
||||
./vim.nix
|
||||
./wallpaper.nix
|
||||
./picom.nix
|
||||
./i3.nix
|
||||
|
|
2
home.nix
2
home.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 = {
|
||||
|
|
15
vim.nix
Normal file
15
vim.nix
Normal 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…
Add table
Reference in a new issue