pinwheel: Extract vim module

This commit is contained in:
Alexander Heldt
2023-08-26 10:12:30 +02:00
parent 91bd9b2799
commit cef0f11783
3 changed files with 13 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
./modules/age ./modules/age
./modules/ssh ./modules/ssh
./modules/git ./modules/git
./modules/vim
./modules/syncthing ./modules/syncthing
./modules/firefox ./modules/firefox
./modules/calibre ./modules/calibre

View File

@@ -6,7 +6,6 @@
home.homeDirectory = "/home/alex"; home.homeDirectory = "/home/alex";
home.packages = with pkgs; [ home.packages = with pkgs; [
vim
emacs emacs
gnumake gnumake
tig tig

View File

@@ -0,0 +1,12 @@
{ home-manager, pkgs, ...}:
{
home-manager.users.alex = {
programs.vim = {
enable = true;
extraConfig = ''
set noswapfile
'';
};
};
}