leonard: Add wiki-wackattack-eu

This commit is contained in:
2025-11-02 15:05:38 +01:00
parent 0c08f92444
commit 68950a4507
3 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
{ config, pkgs, lib, ... }:
{
services.postgresql = {
enable = true;
enableTCPIP = false;
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
services.postgresqlBackup = {
enable = true;
location = "/backup/postgresql/";
startAt = "*-*-* 03:15:00";
backupAll = true;
};
environment.systemPackages = [ config.services.postgresql.package ];
}