From 3fc51de5171feb362b8373273c3e82de2a70e076 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 30 Apr 2024 21:23:53 +0530 Subject: home: home-manager -> home --- home/common/modules/git.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 home/common/modules/git.nix (limited to 'home/common/modules/git.nix') diff --git a/home/common/modules/git.nix b/home/common/modules/git.nix new file mode 100644 index 0000000..7337f7b --- /dev/null +++ b/home/common/modules/git.nix @@ -0,0 +1,15 @@ +{ config, ... }: let + userName = config.userdata.nameFq; + userEmail = config.userdata.email; +in { + programs.git = { + enable = true; + inherit userName; + inherit userEmail; + + extraConfig = { + color.ui = "auto"; + init.defaultBranch = "master"; + }; + }; +} -- cgit v1.2.3