Files
nixos-config/modules/home-manager/git.nix
T
2026-02-10 15:22:58 +01:00

25 lines
410 B
Nix

{
config,
lib,
pkgs,
...
}:
{
home.packages = with pkgs; [
git-credential-oauth
git-crypt
];
programs.git = {
enable = true;
settings = {
user.name = "Leonhard Kost";
user.email = "leonhard.kost@gmail.com";
credential.helper = [
"cache --timeout 21600"
("oauth" + lib.optionalString (!config.kekleo.graphical) " -device")
];
};
};
}