{ ... }: { programs.git = { enable = true; userName = "root"; userEmail = "root@localhost"; signing.format = "ssh"; extraConfig = { init.defaultBranch = "main"; core = { preloadindex = true; fscache = true; }; gc.auto = 256; }; }; }