Update git settings to match renamed upstream vars
evaluation warning: chandler profile: The option `programs.git.userName' defined in `/home/chandler/projects/machine-config/sam/configuration.nix' has been renamed to `programs.git.settings.user.name'.
evaluation warning: chandler profile: The option `programs.git.extraConfig' defined in `/home/chandler/projects/machine-config/sam/configuration.nix' has been renamed to `programs.git.settings'.
This commit is contained in:
parent
b765bb1a97
commit
0f38e26d7f
2 changed files with 5 additions and 5 deletions
|
|
@ -247,11 +247,11 @@
|
|||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userEmail = "chandler@chandlerswift.com";
|
||||
userName = "Chandler Swift";
|
||||
lfs.enable = true;
|
||||
# TODO: delta or diff-so-fancy or difftastic
|
||||
extraConfig = {
|
||||
settings = {
|
||||
user.name = "Chandler Swift;
|
||||
user.email = "chandler@chandlerswift.com";
|
||||
init.defaultBranch = "main";
|
||||
pull.ff = "only";
|
||||
#init.templatedir = "~/.git-template"; # unsure what this was intended to do -- default hooks, maybe?
|
||||
|
|
|
|||
|
|
@ -169,10 +169,10 @@
|
|||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Chandler Swift";
|
||||
lfs.enable = true;
|
||||
# TODO: delta or diff-so-fancy or difftastic
|
||||
extraConfig = {
|
||||
settings = {
|
||||
user.name = "Chandler Swift";
|
||||
help.autoCorrect = "prompt";
|
||||
init.defaultBranch = "main";
|
||||
diff.wsErrorHighlight = "all";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue