mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
home manager settings
This commit is contained in:
13
modules/base/git/git.nix
Normal file
13
modules/base/git/git.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ inputs, ... }: {
|
||||
flake.homeManagerModules.git = { user, fullname, ... }: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = fullname;
|
||||
userEmail = "${user}@chrayed.de";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
core.editor = "nano";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user