mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
Updated git config
This commit is contained in:
parent
1d5a4ce2ff
commit
ae5481a4d6
|
@ -1,9 +1,9 @@
|
||||||
{ config, lib, pkgs, username, email, ... }:
|
{ config, lib, pkgs, name, email, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.git ];
|
home.packages = [ pkgs.git ];
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
programs.git.userName = username;
|
programs.git.userName = name;
|
||||||
programs.git.userEmail = email;
|
programs.git.userEmail = email;
|
||||||
programs.git.extraConfig = {
|
programs.git.extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
|
Loading…
Reference in a new issue