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.username = username;
|
||||||
home.homeDirectory = "/home/" + username;
|
home.homeDirectory = "/home/" + username;
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = fullname;
|
userName = fullname;
|
||||||
userEmail = "kiana.a.sheibani@gmail.com";
|
userEmail = email;
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
credential.helper = "store";
|
credential.helper = "store";
|
||||||
|
|
Loading…
Reference in a new issue