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
+13 -7
View File
@@ -54,7 +54,8 @@
size = 24;
};
home.packages = [
pkgs.element-desktop
pkgs.element-desktop
pkgs.commitizen
];
home.sessionVariables = {
MOZ_USE_XINPUT2 = "1";
@@ -79,19 +80,24 @@
colorscheme peaksea
set termguicolors
set background=dark
au BufNewFile,BufRead *Jenkinsfile setf groovy
'';
};
programs.git = {
enable = true;
package = pkgs.gitFull;
userName = "Emma Thorpe";
extraConfig = {
settings = {
user.name = "Emma Thorpe";
push = {
autoSetupRemote = true;
};
init = {
defaultBranch = "main";
};
};
delta = {
enable = true;
};
};
};
programs.delta = {
enable = true;
enableGitIntegration = true;
};
}