mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Complete overhaul
This commit is contained in:
commit
d30d11566d
38 changed files with 1373 additions and 0 deletions
20
modules/home/git.nix
Normal file
20
modules/home/git.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.myConfig.git.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.git.enable {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
userName = "SebastianStork";
|
||||
userEmail = "sebastian.stork@pm.me";
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue