0
0
Fork 0
flake/home/modules/cli/development.nix

92 lines
1.7 KiB
Nix
Raw Permalink Normal View History

2025-01-07 00:40:07 +00:00
{
pkgs,
...
}: {
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;
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;
};
extraConfig = {
init = {
2025-01-03 01:26:51 +00:00
defaultBranch = "master";
};
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;
};
};
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";
};
};
}