Gitweb working
This commit is contained in:
parent
2e807cf63c
commit
85352086d9
|
@ -2,7 +2,10 @@
|
|||
|
||||
{
|
||||
services.gitweb = {
|
||||
projectroot = "/home/tsv/git";
|
||||
gitwebTheme = true;
|
||||
extraConfig = ''
|
||||
our $site_name = "~tsvallender’s git";
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
gitweb = {
|
||||
enable = true;
|
||||
virtualHost = "git.tsvallender.co.uk";
|
||||
location = "/gitweb";
|
||||
location = "/web";
|
||||
};
|
||||
virtualHosts."git.tsvallender.co.uk" = {
|
||||
forceSSL = true;
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue