change git config
This commit is contained in:
parent
58a3f28118
commit
811e6a8429
9
modules/home/git/config
Normal file
9
modules/home/git/config
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[user]
|
||||||
|
name = Frost-Phoenix
|
||||||
|
email = 67cyril6767@gmail.com
|
||||||
|
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|
||||||
|
[credential]
|
||||||
|
helper = store
|
|
@ -1,6 +1,13 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.git.enable = true;
|
|
||||||
programs.git.userName = "Frost-Phoenix";
|
programs.git = {
|
||||||
programs.git.userEmail = "67cyril6767@gmail.com";
|
enable = true;
|
||||||
|
|
||||||
|
userName = "Frost-Phoenix";
|
||||||
|
userEmail = "67cyril6767@gmail.com";
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = [ pkgs.gh ];
|
home.packages = [ pkgs.gh ];
|
||||||
|
|
||||||
|
home.configFile."git/config".source = ./config;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue