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

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