Init
This commit is contained in:
26
home/git.nix
Normal file
26
home/git.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ pkgs, primaryUser, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
name = "DerGrumpf"; # TODO replace
|
||||
email = "p.keier@beyerstedt-it.de"; # TODO replace
|
||||
};
|
||||
github = {
|
||||
user = primaryUser;
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
lfs.enable = true;
|
||||
ignores = [ "**/.DS_STORE" ];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
gh
|
||||
gitui
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user