68 lines
1.3 KiB
Nix
68 lines
1.3 KiB
Nix
{pkgs, ...}: {
|
|
programs.git = {
|
|
enable = true;
|
|
package = pkgs.gitAndTools.gitFull;
|
|
userEmail = "relms@relms.dev";
|
|
userName = "Daryl Ronningen";
|
|
delta = {
|
|
enable = true;
|
|
options = {
|
|
navigate = true;
|
|
light = false;
|
|
line-numbers = true;
|
|
side-by-side = true;
|
|
};
|
|
};
|
|
lfs = {
|
|
enable = true;
|
|
};
|
|
extraConfig = {
|
|
init = {
|
|
defaultBranch = "master";
|
|
};
|
|
pull = {
|
|
rebase = false;
|
|
};
|
|
credential = {
|
|
helper = "store";
|
|
};
|
|
core = {
|
|
editor = "nvim";
|
|
};
|
|
color = {
|
|
ui = "auto";
|
|
};
|
|
diff = {
|
|
colorMoved = "default";
|
|
};
|
|
tag = {
|
|
forceSignAnnotated = true;
|
|
};
|
|
pack = {
|
|
writeReversedIndex = true;
|
|
};
|
|
};
|
|
signing = {
|
|
signByDefault = true;
|
|
key = "3905311D17C0E1E8AD2B3439FD23F0C934A5EC6B";
|
|
};
|
|
};
|
|
|
|
programs.direnv.enable = true;
|
|
programs.direnv.nix-direnv.enable = true;
|
|
|
|
programs.gpg.enable = true;
|
|
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableScDaemon = true;
|
|
enableSshSupport = true;
|
|
pinentryPackage = pkgs.pinentry-rofi;
|
|
};
|
|
|
|
catppuccin.delta = {
|
|
enable = true;
|
|
flavor = "mocha";
|
|
};
|
|
}
|