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:
+10
-4
@@ -55,6 +55,7 @@
|
||||
};
|
||||
home.packages = [
|
||||
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 = {
|
||||
};
|
||||
};
|
||||
programs.delta = {
|
||||
enable = true;
|
||||
};
|
||||
enableGitIntegration = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user