summaryrefslogtreecommitdiff
path: root/users/seth/programs/git.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/programs/git.nix')
-rw-r--r--users/seth/programs/git.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/users/seth/programs/git.nix b/users/seth/programs/git.nix
new file mode 100644
index 0000000..6164432
--- /dev/null
+++ b/users/seth/programs/git.nix
@@ -0,0 +1,16 @@
+{ config, ...}:
+
+{
+ programs.git = {
+ enable = true;
+ extraConfig = {
+ init = { defaultBranch = "main"; };
+ };
+ signing = {
+ key = "D31BD0D494BBEE86";
+ signByDefault = true;
+ };
+ userEmail = "[email protected]";
+ userName = "seth";
+ };
+}