overhaul for pi4
This commit is contained in:
28
home-manager/nathan/programs/git/default.nix
Normal file
28
home-manager/nathan/programs/git/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.homeconfig.git.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.git.enable {
|
||||
|
||||
programs.git = {
|
||||
userName = "Nathan";
|
||||
userEmail = "nathanblunkall5@gmail.com";
|
||||
|
||||
extraConfig = {
|
||||
init = {
|
||||
defaultBranch = "master";
|
||||
};
|
||||
url = {
|
||||
"ssh://gitea@gitea.blunkall.us/" = {
|
||||
insteadOf = [
|
||||
"blunkall:"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user