minimise nesting in /home

This commit is contained in:
xunuwu 2025-06-06 12:58:39 +02:00
parent caa2a3d7c5
commit 383d9f878e
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
37 changed files with 40 additions and 45 deletions

28
home/cli/git.nix Normal file
View file

@ -0,0 +1,28 @@
{
config,
pkgs,
...
}: {
programs.git = {
enable = true;
delta.enable = true;
lfs.enable = true;
ignores = ["*~" ".direnv"];
signing = {
key = "${config.home.homeDirectory}/.ssh/id_ed25519";
signByDefault = true;
};
extraConfig = {
gpg.format = "ssh";
push.autoSetupRemote = true;
pull.rebase = true;
rebase.autostash = true;
};
userEmail = "xunuwu@gmail.com";
userName = "xunuwu";
};
}