Compare commits
No commits in common. "11166198f666c81656bca3f8b4ddc42f7644dc38" and "0488d832738c3d12e490cdb73892a61480271884" have entirely different histories.
11166198f6
...
0488d83273
@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gitea
|
gitea
|
||||||
|
git-lfs
|
||||||
];
|
];
|
||||||
|
|
||||||
# Gitea setup with daily backup
|
# Gitea setup with daily backup
|
||||||
@ -19,7 +20,10 @@
|
|||||||
repositoryRoot = "/vault/git";
|
repositoryRoot = "/vault/git";
|
||||||
dump.enable = true;
|
dump.enable = true;
|
||||||
useWizard = true;
|
useWizard = true;
|
||||||
appName = "Gitea";
|
extraConfig = ''
|
||||||
|
LFS_START_SERVER = true
|
||||||
|
LFS_HTTP_AUTH_EXPIRY = 60m
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,5 @@
|
|||||||
connectionTrackingModules = [ "sane" ];
|
connectionTrackingModules = [ "sane" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Disable IPv6
|
|
||||||
networking.enableIPv6 = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
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