Compare commits
11 Commits
11166198f6
...
34a4815dd1
Author | SHA1 | Date | |
---|---|---|---|
34a4815dd1 | |||
c9d602aa1e | |||
d20f0a9d49 | |||
d8726352de | |||
77397471e6 | |||
98d968dc15 | |||
8f7d6ead84 | |||
7d9ae1ef38 | |||
94eb1510c6 | |||
c1a3fceb56 | |||
26aaa9deb2 |
@ -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