refactor: use email special arg
This commit is contained in:
parent
fb7b45f98d
commit
5f95f0ffba
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, username, fullname, ... }:
|
||||
{ config, pkgs, username, fullname, email, ... }:
|
||||
{
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/" + username;
|
||||
|
@ -13,7 +13,7 @@
|
|||
programs.git = {
|
||||
enable = true;
|
||||
userName = fullname;
|
||||
userEmail = "kiana.a.sheibani@gmail.com";
|
||||
userEmail = email;
|
||||
|
||||
extraConfig = {
|
||||
credential.helper = "store";
|
||||
|
|
Loading…
Reference in a new issue