From a003ff6e583ac4d9c650a43e5ad51fa32b95b1fe Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 5 Feb 2023 02:29:19 +0900 Subject: feat(colmena/services): git-daemon: init --- colmena/cobalt/configuration.nix | 1 + colmena/cobalt/services/git-daemon.nix | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 colmena/cobalt/services/git-daemon.nix diff --git a/colmena/cobalt/configuration.nix b/colmena/cobalt/configuration.nix index 7caac5e..c596536 100644 --- a/colmena/cobalt/configuration.nix +++ b/colmena/cobalt/configuration.nix @@ -30,6 +30,7 @@ in ./services/fail2ban.nix ./services/soju.nix ./services/gitolite.nix + ./services/git-daemon.nix ./services/cgit.nix ]; diff --git a/colmena/cobalt/services/git-daemon.nix b/colmena/cobalt/services/git-daemon.nix new file mode 100644 index 0000000..4ba73cf --- /dev/null +++ b/colmena/cobalt/services/git-daemon.nix @@ -0,0 +1,6 @@ +{ + services.gitDaemon = { + enable = true; + basePath = "/var/lib/gitolite/repositories"; + }; +} -- cgit 1.4.1