Common: enable and configure Git

This commit is contained in:
Toast 2023-10-05 12:47:23 +02:00
parent f753d67874
commit f2a3cbdbf6
2 changed files with 16 additions and 0 deletions

View file

@ -9,6 +9,7 @@
./command-not-found.nix ./command-not-found.nix
./comma.nix ./comma.nix
./bash.nix ./bash.nix
./git.nix
]; ];
# Some programs dont have a programs.*.enable option, so I install their package here # Some programs dont have a programs.*.enable option, so I install their package here
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
home-manager.users.toast = {
programs.git = {
enable = true;
delta.enable = true;
extraConfig = {
init.defaultBranch = "main";
pull.rebase = "interactive";
};
};
};
}