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