Add git server to kernighan
This commit is contained in:
parent
7e0af5bf1b
commit
4a6dfee55b
|
@ -6,8 +6,9 @@
|
||||||
[
|
[
|
||||||
../shared/shared-configuration.nix
|
../shared/shared-configuration.nix
|
||||||
./kernighan-hardware.nix
|
./kernighan-hardware.nix
|
||||||
./services/nginx.nix
|
./services/git.nix
|
||||||
./services/home_assistant.nix
|
./services/home_assistant.nix
|
||||||
|
./services/nginx.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.gitDaemon = {
|
||||||
|
enable = true;
|
||||||
|
basePath = "/home/git/repositories/";
|
||||||
|
exportAll = true;
|
||||||
|
# port = 9418; # default
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue