mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
17 lines
349 B
Nix
17 lines
349 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;
|
|
};
|
|
}
|