the great update
This commit is contained in:
19
user/homed/git/default.nix
Normal file
19
user/homed/git/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user