initial commit

Change-Id: Icdf87c6c68d88c917468ad949f90af5bcb690831
diff --git a/modules/git.nix b/modules/git.nix
new file mode 100644
index 0000000..b17afe4
--- /dev/null
+++ b/modules/git.nix
@@ -0,0 +1,28 @@
+{ pkgs, ... }: {
+
+  home-manager.users.coded.programs.gpg.enable = true;
+  home-manager.users.coded.home.packages = [
+    pkgs.git-review
+    pkgs.gh
+  ];
+
+  home-manager.users.coded.programs.git = {
+    enable = true;
+    extraConfig = {
+      init.defaultbranch = "main";
+      user = {
+        email = "coded@clicks.codes";
+        name = "Samuel Shuert";
+      };
+      pull.rebase = true;
+      advice.skippedcherrypicks = false;
+      gpg.sign = true;
+      core = {
+        repositoryformatversion = 0;
+        filemode = true;
+        bare = false;
+        logallrefupdates = true;
+      };
+    };
+  };
+}