Refactor git configuration to use userFullName instead of handle
This commit is contained in:
parent
a0e14b8bbb
commit
37f1082010
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,8 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
handle = config.hostSpec.handle;
|
# handle = config.hostSpec.handle;
|
||||||
|
fullName = config.hostSpec.userFullName;
|
||||||
email = config.hostSpec.email;
|
email = config.hostSpec.email;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -15,7 +16,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitAndTools.gitFull;
|
package = pkgs.gitAndTools.gitFull;
|
||||||
|
|
||||||
userName = handle;
|
userName = fullName;
|
||||||
userEmail = email;
|
userEmail = email;
|
||||||
|
|
||||||
ignores = [
|
ignores = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue