From 1d8fd41d266be04d99d1a09498824dc61b8126fe Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Wed, 8 Nov 2023 15:15:01 +0000 Subject: [PATCH] Update configuration.nix --- configuration.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/configuration.nix b/configuration.nix index 955eb3b..9e8c8ec 100644 --- a/configuration.nix +++ b/configuration.nix @@ -75,6 +75,26 @@ nix-upgrade = "sudo nixos-rebuild switch --upgrade"; }; }; + + programs.git = { + lfs.enable = true; + config = { + color = { + ui = "auto"; + }; + color.status = { + added = "green bold"; + changed = "yellow bold"; + untracked = "red bold"; + }; + push = { + autoSetupRemote = "true"; + }; + init = { + defaultBranch = "main"; + }; + }; + }; # Allow Unfree nixpkgs.config.allowUnfree = true;