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