2025-01-07 00:40:07 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-01-02 07:49:55 +00:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
2025-01-07 00:40:07 +00:00
|
|
|
package =
|
|
|
|
if pkgs.stdenv.hostPlatform.system == "x86_64-linux"
|
|
|
|
then pkgs.gitAndTools.gitFull
|
|
|
|
else pkgs.git;
|
2023-01-02 07:49:55 +00:00
|
|
|
userEmail = "relms@relms.dev";
|
|
|
|
userName = "Daryl Ronningen";
|
|
|
|
delta = {
|
|
|
|
enable = true;
|
|
|
|
options = {
|
|
|
|
navigate = true;
|
|
|
|
light = false;
|
|
|
|
line-numbers = true;
|
|
|
|
side-by-side = true;
|
|
|
|
};
|
|
|
|
};
|
2023-04-20 07:31:28 +00:00
|
|
|
lfs = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-01-02 07:49:55 +00:00
|
|
|
extraConfig = {
|
|
|
|
init = {
|
2025-01-03 01:26:51 +00:00
|
|
|
defaultBranch = "master";
|
2023-01-02 07:49:55 +00:00
|
|
|
};
|
|
|
|
pull = {
|
|
|
|
rebase = false;
|
|
|
|
};
|
|
|
|
credential = {
|
|
|
|
helper = "store";
|
|
|
|
};
|
|
|
|
core = {
|
|
|
|
editor = "nvim";
|
|
|
|
};
|
2025-01-03 01:26:51 +00:00
|
|
|
color = {
|
|
|
|
ui = "auto";
|
|
|
|
};
|
|
|
|
diff = {
|
|
|
|
colorMoved = "default";
|
|
|
|
};
|
|
|
|
tag = {
|
|
|
|
forceSignAnnotated = true;
|
|
|
|
};
|
|
|
|
pack = {
|
|
|
|
writeReversedIndex = true;
|
|
|
|
};
|
2023-01-02 07:49:55 +00:00
|
|
|
};
|
|
|
|
signing = {
|
|
|
|
signByDefault = true;
|
|
|
|
key = "3905311D17C0E1E8AD2B3439FD23F0C934A5EC6B";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.direnv.enable = true;
|
|
|
|
programs.direnv.nix-direnv.enable = true;
|
|
|
|
|
2025-01-06 01:11:40 +00:00
|
|
|
programs.lazygit = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
gui.theme.lightTheme = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2025-01-03 01:26:51 +00:00
|
|
|
programs.gpg.enable = true;
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
enableScDaemon = true;
|
|
|
|
enableSshSupport = true;
|
2025-01-07 00:40:07 +00:00
|
|
|
pinentryPackage =
|
|
|
|
if pkgs.stdenv.hostPlatform.system == "x86_64-linux"
|
|
|
|
then pkgs.pinentry-rofi
|
|
|
|
else pkgs.pinentry_mac;
|
2025-01-03 01:26:51 +00:00
|
|
|
};
|
|
|
|
|
2025-01-06 01:11:40 +00:00
|
|
|
catppuccin = {
|
|
|
|
delta = {
|
|
|
|
enable = true;
|
|
|
|
flavor = "mocha";
|
|
|
|
};
|
|
|
|
lazygit = {
|
|
|
|
enable = true;
|
|
|
|
flavor = "mocha";
|
|
|
|
accent = "pink";
|
|
|
|
};
|
2023-01-02 07:49:55 +00:00
|
|
|
};
|
|
|
|
}
|