diff options
author | sefidel <contact@sefidel.net> | 2023-02-05 02:29:19 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-05 02:29:19 +0900 |
commit | a003ff6e583ac4d9c650a43e5ad51fa32b95b1fe (patch) | |
tree | 49f338c4cc8931db31a9b22ef56fa1f4f485b94f | |
parent | b90c4685335246ffb4fef6fd6caaf4e12dfd0e17 (diff) | |
download | nixrc-a003ff6e583ac4d9c650a43e5ad51fa32b95b1fe.tar.gz nixrc-a003ff6e583ac4d9c650a43e5ad51fa32b95b1fe.zip |
feat(colmena/services): git-daemon: init
-rw-r--r-- | colmena/cobalt/configuration.nix | 1 | ||||
-rw-r--r-- | colmena/cobalt/services/git-daemon.nix | 6 |
2 files changed, 7 insertions, 0 deletions
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"; + }; +} |