1
0
Fork 0

Reorganize common configuration

This commit is contained in:
Avery 2025-06-21 20:02:48 +02:00
parent b0435707e4
commit 84dfefcb45
Signed by: Avery
GPG key ID: B684FD451B692E04
18 changed files with 81 additions and 128 deletions

View file

@ -1,50 +1 @@
{ pkgs, ... }: {
home.packages = with pkgs; [ xh gnupg git-credential-manager pass wslu ];
programs = {
git = {
enable = true;
extraConfig = {
init.defaultBranch = "main";
merge.tool = "nvim -d";
credential = {
credentialStore = "gpg";
helper = "${pkgs.git-credential-manager}/bin/git-credential-manager";
"https://git.rcia.dev".provider = "generic";
};
};
signing = {
key = "B684FD451B692E04";
signByDefault = true;
};
userEmail = "aveeryy@protonmail.com";
userName = "Avery";
};
lazygit = {
enable = true;
settings = {
gui.theme = {
activeBorderColor = [ "#89b4fa" "bold" ];
inactiveBorderColor = [ "#a6adc8" ];
optionsTextColor = [ "#89b4fa" ];
selectedLineBgColor = [ "#313244" ];
selectedRangeBgColor = [ "#313244" ];
cherryPickedCommitBgColor = [ "#45475a" ];
cherryPickedCommitFgColor = [ "#89b4fa" ];
unstagedChangesColor = [ "#f38ba8" ];
defaultFgColor = [ "#cdd6f4" ];
searchingActiveBorderColor = [ "#f9e2af" ];
};
};
};
};
services = {
gpg-agent = {
defaultCacheTtl = 3600;
enable = true;
enableSshSupport = true;
enableZshIntegration = true;
pinentryPackage = pkgs.pinentry-qt;
};
};
}
{ pkgs, ... }: { home.packages = with pkgs; [ python3 xh wslu ]; }