Compare commits
2 Commits
0488d83273
...
11166198f6
Author | SHA1 | Date | |
---|---|---|---|
11166198f6 | |||
88438033c4 |
@ -3,7 +3,6 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gitea
|
gitea
|
||||||
git-lfs
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Gitea setup with daily backup
|
# Gitea setup with daily backup
|
||||||
@ -20,10 +19,7 @@
|
|||||||
repositoryRoot = "/vault/git";
|
repositoryRoot = "/vault/git";
|
||||||
dump.enable = true;
|
dump.enable = true;
|
||||||
useWizard = true;
|
useWizard = true;
|
||||||
extraConfig = ''
|
appName = "Gitea";
|
||||||
LFS_START_SERVER = true
|
|
||||||
LFS_HTTP_AUTH_EXPIRY = 60m
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,5 +30,7 @@
|
|||||||
connectionTrackingModules = [ "sane" ];
|
connectionTrackingModules = [ "sane" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Disable IPv6
|
||||||
|
networking.enableIPv6 = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
resolver.ipv6 = false;
|
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user