diff options
-rw-r--r-- | modules/nixos/vhack/git-server/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/nixos/vhack/git-server/default.nix b/modules/nixos/vhack/git-server/default.nix index 550bc90..0129699 100644 --- a/modules/nixos/vhack/git-server/default.nix +++ b/modules/nixos/vhack/git-server/default.nix @@ -13,6 +13,14 @@ in { }; config = lib.mkIf cfg.enable { + programs.git = { + enable = true; + config = { + init = { + defaultBranch = "main"; + }; + }; + }; services = { gitolite = { enable = true; |