20 lines
483 B
Nix
20 lines
483 B
Nix
{ config, pkgs, userSettings, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
gh
|
|
];
|
|
|
|
homix.".gitconfig".text = ''
|
|
[user]
|
|
email = ${userSettings.email-dev}
|
|
name = ${userSettings.name}
|
|
[credential "https://github.com"]
|
|
helper =
|
|
helper = ${pkgs.gh}/bin/gh auth git-credential
|
|
[credential "https://gist.github.com"]
|
|
helper =
|
|
helper = ${pkgs.gh}/bin/gh auth git-credential
|
|
'';
|
|
}
|