chore: update personal git, delta and editor config

Move git config to the settings option, switch to the standalone programs.delta module with git integration, add commitizen, and treat Jenkinsfiles as groovy.
This commit is contained in:
Emma Thorpe
2026-06-02 12:46:30 +00:00
committed by Emma Thorpe
parent d6146cede6
commit 9d6eb1237d
+12 -6
View File
@@ -54,7 +54,8 @@
size = 24; size = 24;
}; };
home.packages = [ home.packages = [
pkgs.element-desktop pkgs.element-desktop
pkgs.commitizen
]; ];
home.sessionVariables = { home.sessionVariables = {
MOZ_USE_XINPUT2 = "1"; MOZ_USE_XINPUT2 = "1";
@@ -79,19 +80,24 @@
colorscheme peaksea colorscheme peaksea
set termguicolors set termguicolors
set background=dark set background=dark
au BufNewFile,BufRead *Jenkinsfile setf groovy
''; '';
}; };
programs.git = { programs.git = {
enable = true; enable = true;
package = pkgs.gitFull; package = pkgs.gitFull;
userName = "Emma Thorpe"; settings = {
extraConfig = { user.name = "Emma Thorpe";
push = { push = {
autoSetupRemote = true; autoSetupRemote = true;
}; };
}; init = {
delta = { defaultBranch = "main";
enable = true; };
}; };
}; };
programs.delta = {
enable = true;
enableGitIntegration = true;
};
} }