change git config

This commit is contained in:
Frost-Phoenix 2023-11-05 12:24:39 +01:00
parent 58a3f28118
commit 811e6a8429
2 changed files with 19 additions and 3 deletions

9
modules/home/git/config Normal file
View file

@ -0,0 +1,9 @@
[user]
name = Frost-Phoenix
email = 67cyril6767@gmail.com
[init]
defaultBranch = main
[credential]
helper = store

View file

@ -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;
} }