From 27b416db5ecc7f8f65c384e913eee6fe20db9d87 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Thu, 26 Sep 2024 00:08:35 -0400 Subject: [PATCH] Added git module with default user info --- common/git/default.nix | 13 +++++++++++++ host/nix/home/default.nix | 1 + 2 files changed, 14 insertions(+) create mode 100644 common/git/default.nix diff --git a/common/git/default.nix b/common/git/default.nix new file mode 100644 index 0000000..c6c6211 --- /dev/null +++ b/common/git/default.nix @@ -0,0 +1,13 @@ +{ + # !!! FOR HOME MANAGER Not nix config + programs.git = { + enable = true; + userName = "[REDACTED]"; + userEmail = "36116606+TophC7@users.noreply.github.com"; + extraConfig = { + init = { + defaultBranch = "main"; + }; + }; + }; +} \ No newline at end of file diff --git a/host/nix/home/default.nix b/host/nix/home/default.nix index abfdab8..af08c2e 100644 --- a/host/nix/home/default.nix +++ b/host/nix/home/default.nix @@ -4,6 +4,7 @@ imports = [ # Common Modules ../../../common/home + ../../../common/git ]; home.packages = with pkgs; [