From 7083deb773b9c12ef56da6a934f9f0daca95d8ba Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 29 Jan 2025 14:11:40 -0800 Subject: add affinity system --- nix/modules/git-daemon.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 nix/modules/git-daemon.nix (limited to 'nix/modules/git-daemon.nix') diff --git a/nix/modules/git-daemon.nix b/nix/modules/git-daemon.nix new file mode 100644 index 0000000..e71356e --- /dev/null +++ b/nix/modules/git-daemon.nix @@ -0,0 +1,9 @@ +{ config, lib, ... }: +{ + services.gitDaemon = { + enable = lib.mkDefault config.monorepo.profiles.server.enable; + exportAll = true; + listenAddress = "0.0.0.0"; + basePath = "/srv/git"; + }; +} -- cgit