pinwheel: Set git editor to vim
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{ ... }:
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
gitEnabled = config.mod.git.enable;
|
||||
in
|
||||
{
|
||||
home-manager.users.alex = {
|
||||
programs.vim = {
|
||||
@@ -8,5 +11,13 @@
|
||||
set noswapfile
|
||||
'';
|
||||
};
|
||||
|
||||
programs.git = lib.mkIf gitEnabled {
|
||||
extraConfig = {
|
||||
core = {
|
||||
editor = "vim";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user