From ed3d8bc9132877a25a038bc6ebb6b92749ad02b2 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 9 Nov 2021 11:17:19 -0500 Subject: [PATCH] configure git --- modules/cli/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/cli/default.nix b/modules/cli/default.nix index 11933f9..9df4db4 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -12,7 +12,6 @@ entr file gcc - git htop iftop inetutils @@ -72,6 +71,14 @@ environment.etc.nixpkgs.source = pkgs.path; nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ]; + programs.git = { + enable = true; + config = { + pull.ff = "only"; + init.defaultBranch = "main"; + }; + }; + programs.tmux = { enable = true; terminal = "screen-256color";