feature(git): add git home-manager module
This commit is contained in:
18
modules/home-manager/git.nix
Normal file
18
modules/home-manager/git.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
push = { autoSetupRemote = true; };
|
||||||
|
user = {
|
||||||
|
name = "aaron";
|
||||||
|
email = "aaron@0x29a.ch";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
signing = {
|
||||||
|
key = "7A830180A05DAC59CDE43B0677D2F5DB48184456";
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user