mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
22 lines
438 B
Nix
22 lines
438 B
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
|
|
programs.lazygit.enable = true;
|
|
};
|
|
}
|