refactor: use email special arg

This commit is contained in:
Kiana Sheibani 2024-10-15 03:28:56 -04:00
parent fb7b45f98d
commit 5f95f0ffba
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -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";