Add git server to kernighan

This commit is contained in:
Trevor Vallender 2023-09-25 11:24:21 +01:00
parent 7e0af5bf1b
commit 4a6dfee55b
2 changed files with 13 additions and 1 deletions

View File

@ -6,8 +6,9 @@
[
../shared/shared-configuration.nix
./kernighan-hardware.nix
./services/nginx.nix
./services/git.nix
./services/home_assistant.nix
./services/nginx.nix
];
networking = {

View File

@ -0,0 +1,11 @@
{ config, pkgs, inputs, ... }:
{
services.gitDaemon = {
enable = true;
basePath = "/home/git/repositories/";
exportAll = true;
# port = 9418; # default
};
}