mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
26 lines
515 B
Nix
26 lines
515 B
Nix
{ config, pkgs, lib, ...}:
|
|
{
|
|
programs= {
|
|
git = {
|
|
enable = true;
|
|
package = pkgs.gitAndTools.gitFull;
|
|
extraConfig = {
|
|
core = { editor = "emacsclient"; };
|
|
init = { defaultBranch = "main";};
|
|
branch = { autosetuprebase = "always";};
|
|
safe.directory = [ "/etc/nixos" ];
|
|
};
|
|
lfs.enable = true;
|
|
};
|
|
|
|
gh = {
|
|
enable = true;
|
|
settings = {
|
|
aliases = {};
|
|
git_protocol = "ssh";
|
|
prompt = "enabled";
|
|
};
|
|
};
|
|
};
|
|
}
|