aboutsummaryrefslogtreecommitdiff
path: root/hosts/sagittarius/web/git.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sagittarius/web/git.nix')
-rw-r--r--hosts/sagittarius/web/git.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/sagittarius/web/git.nix b/hosts/sagittarius/web/git.nix
new file mode 100644
index 0000000..732f7d0
--- /dev/null
+++ b/hosts/sagittarius/web/git.nix
@@ -0,0 +1,8 @@
+{ ... }: {
+ services.gitDaemon = {
+ enable = true;
+ repositories = [ "/srv/git/" ];
+ exportAll = true;
+ basePath = "/srv/git/";
+ };
+}