Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
This commit is contained in:
parent
ebd178b0a5
commit
7606f9e051
66 changed files with 9465 additions and 73 deletions
20
users/pedro/home-configuration/git.nix
Normal file
20
users/pedro/home-configuration/git.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{pkgs, ...}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
userName = "Pedro Rey Anca";
|
||||
userEmail = "personal@peprolinbot.com";
|
||||
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = null; # Let GnuPG decide what signing key to use depending on commit’s author.
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
credential.helper = "store";
|
||||
};
|
||||
};
|
||||
|
||||
# home.packages = [ pkgs.gh pkgs.git-lfs ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue