1 2 3 4 5 6 7 8 9 10 11
{ config, lib, ... }: { services.gitDaemon = { enable = lib.mkDefault config.monorepo.profiles.server.enable; exportAll = true; basePath = "${config.users.users.git.home}"; }; networking.firewall.allowedTCPPorts = lib.mkIf config.services.gitDaemon.enable [ 9418 ]; }