mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 02:09:26 +08:00
modules.user.chn: set git user name
This commit is contained in:
@@ -22,10 +22,7 @@ inputs:
|
||||
ssd = inputs.lib.mkOption { type = inputs.lib.types.bool; default = false; };
|
||||
};}));
|
||||
};
|
||||
config =
|
||||
{
|
||||
programs.git.settings.user = { name = "chn"; email = "chn@chn.moe"; };
|
||||
home =
|
||||
config.home =
|
||||
{
|
||||
file.groupshare.enable = false;
|
||||
packages =
|
||||
@@ -59,5 +56,4 @@ inputs:
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,6 +23,7 @@ inputs:
|
||||
tlstimeout = 3600;
|
||||
transfer.maxretries = 1;
|
||||
};
|
||||
user = { name = "Haonan Chen"; email = "chn@chn.moe"; };
|
||||
};
|
||||
};
|
||||
delta =
|
||||
|
||||
@@ -132,7 +132,7 @@ inputs:
|
||||
{
|
||||
programs.git.settings =
|
||||
{
|
||||
user = { name = "chn"; email = "chn@chn.moe"; };
|
||||
user = { name = "Haonan Chen"; email = "chn@chn.moe"; };
|
||||
# allow root operate on git repositories owned by others
|
||||
safe.directory = "*";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user