mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-22 08:48:29 +02:00
refactor: do not hardcode username/email in sub modules
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
|
||||
userfullname,
|
||||
useremail,
|
||||
...
|
||||
}: {
|
||||
# `programs.git` will generate the config file: ~/.config/git/config
|
||||
@@ -16,8 +19,8 @@
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
|
||||
userName = "Ryan Yin";
|
||||
userEmail = "xiaoyin_c@qq.com";
|
||||
userName = userfullname;
|
||||
userEmail = useremail;
|
||||
|
||||
includes = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user