Attempting to set up gitweb
This commit is contained in:
parent
8f228ed357
commit
74a3b26906
|
@ -7,7 +7,7 @@
|
|||
../shared/shared-configuration.nix
|
||||
./kernighan-hardware.nix
|
||||
../shared/services/syncthing.nix
|
||||
../shared/services/git.nix
|
||||
../shared/services/gitweb.nix
|
||||
../shared/services/nginx.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
services.gitDaemon = {
|
||||
enable = true;
|
||||
basePath = "/home/git/repositories/";
|
||||
exportAll = true;
|
||||
# port = 9418; # default
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
services.gitweb = {
|
||||
projectroot = "/home/tsv/git";
|
||||
};
|
||||
}
|
||||
|
|
@ -4,6 +4,11 @@
|
|||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
gitweb = {
|
||||
enable = true;
|
||||
virtualHost = "git.tsvallender.co.uk";
|
||||
location = "/home/tsv/git";
|
||||
};
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
|
@ -19,9 +24,6 @@
|
|||
virtualHosts."git.tsvallender.co.uk" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8384";
|
||||
};
|
||||
};
|
||||
};
|
||||
security.acme = {
|
||||
|
|
Loading…
Reference in New Issue