{ flake.homeModules.git = { config, lib, ... }: { programs.git = { enable = true; settings = { credential.helper = "store --file ~/.git-credentials"; init.defaultBranch = "main"; push.autoSetupRemote = true; }; }; programs.lazygit { enable = true; enableBashIntegration = true; enableZshIntegration = true; }; }; }