From 2788edf8f6ddc0a5ccd141db51321cd21abb5adf Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 6 Feb 2023 18:08:33 +0900 Subject: feat: merge colmena to nixos --- nixos/cobalt/services/git-daemon.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nixos/cobalt/services/git-daemon.nix (limited to 'nixos/cobalt/services/git-daemon.nix') diff --git a/nixos/cobalt/services/git-daemon.nix b/nixos/cobalt/services/git-daemon.nix new file mode 100644 index 0000000..21e957e --- /dev/null +++ b/nixos/cobalt/services/git-daemon.nix @@ -0,0 +1,15 @@ +{ + services.gitDaemon = { + enable = true; + createUserAndGroup = false; + basePath = "/var/lib/gitolite/repositories"; + }; + + networking.firewall.allowedTCPPorts = [ 9418 ]; + + disabledModules = [ "services/networking/git-daemon.nix" ]; + + imports = [ + ../modules/git-daemon.nix + ]; +} -- cgit 1.4.1