Compare commits
No commits in common. "35b5d69f14fcc9b110156b4d4366dc46d2e1f22d" and "f7490e5bad5f5ace72f0fb50db89e1a2d04be03f" have entirely different histories.
35b5d69f14
...
f7490e5bad
|
@ -19,9 +19,11 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
bantime = "6h";
|
||||
bantime-increment.enable = true;
|
||||
jails.DEFAULT.settings.findtime = "6h";
|
||||
jails.DEFAULT = ''
|
||||
bantime = 6h
|
||||
findtime = 6h
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -85,8 +85,6 @@ in {
|
|||
type = "postgres";
|
||||
# user needs to be the same as gitea user
|
||||
user = giteaUser;
|
||||
# FIXME: change database name to match 23.11 postgres changes around ensureDatabase
|
||||
createDatabase = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -104,7 +102,7 @@ in {
|
|||
# NOTE: no need to use postgresql.ensureDatabases because the gitea module
|
||||
# takes care of this automatically
|
||||
services.postgresqlBackup = {
|
||||
databases = [config.services.gitea.database.name];
|
||||
databases = ["gitea"];
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
|
|
|
@ -62,6 +62,8 @@ in {
|
|||
services.nextcloud = {
|
||||
enable = true;
|
||||
|
||||
enableBrokenCiphersForSSE = false;
|
||||
|
||||
hostName = "cloud.${domain}";
|
||||
https = true;
|
||||
package = pkgs.nextcloud26;
|
||||
|
|
Loading…
Reference in a new issue