Boilerplate reduction (I understand strings in nix now!)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{ config, lib, pkgs, myName, myEmail, ... }:
|
||||
{ config, lib, pkgs, username, email, ... }:
|
||||
|
||||
{
|
||||
home.packages = [ pkgs.git ];
|
||||
programs.git.enable = true;
|
||||
programs.git.userName = myName;
|
||||
programs.git.userEmail = myEmail;
|
||||
programs.git.userName = username;
|
||||
programs.git.userEmail = email;
|
||||
programs.git.extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
|
Reference in New Issue
Block a user