{ config, lib, pkgs, ... }: { options = { development = { git.enable = lib.mkEnableOption "enable git"; }; }; config = lib.mkIf config.development.git.enable { programs = { git = { enable = true; settings = { init = { defaultBranch = "main"; }; user = { email = "marty@marty.tf"; name = "marty"; }; push = { autoSetupRemote = true; }; }; }; }; }; }