Gitweb working

This commit is contained in:
Trevor Vallender 2023-09-28 11:49:13 +01:00
parent 2e807cf63c
commit 85352086d9
3 changed files with 10 additions and 2 deletions

View File

@ -2,7 +2,10 @@
{
services.gitweb = {
projectroot = "/home/tsv/git";
gitwebTheme = true;
extraConfig = ''
our $site_name = "~tsvallenders git";
'';
};
}

View File

@ -12,7 +12,7 @@
gitweb = {
enable = true;
virtualHost = "git.tsvallender.co.uk";
location = "/gitweb";
location = "/web";
};
virtualHosts."git.tsvallender.co.uk" = {
forceSSL = true;

View File

@ -18,6 +18,10 @@
environment.variables.LC_ALL = "en_GB.UTF-8";
time.timeZone = "Europe/London";
users.groups = {
git = { };
};
users.users.tsv = {
isNormalUser = true;
@ -26,6 +30,7 @@
"docker"
"tmux"
"davfs2"
"git"
];
initialPassword = "password";
openssh.authorizedKeys.keyFiles = [