Files
nixos-config/modules/home-manager/git.nix
T

19 lines
354 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
git-credential-oauth
];
programs.git = {
enable = true;
settings = {
user.name = "Leonhard Kost";
user.email = "leonhard.kost@gmail.com";
credential.helper = [
"cache --timeout 21600"
"oauth" # Eventually with optional -device flag
];
};
};
}