add attic and rm tor

This commit is contained in:
cy 2025-01-05 05:42:52 -05:00
parent acae190bcc
commit 5765243596
8 changed files with 232 additions and 18 deletions

View file

@ -1,6 +1,5 @@
{
pkgs,
lib,
...
}:
{
@ -11,13 +10,15 @@
enableTCPIP = true;
ensureDatabases = [
"hedgedoc"
"atticd"
];
authentication = lib.mkForce ''
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
host all all 172.18.0.0/16 trust
'';
ensureUsers = [
{
name = "atticd";
ensureDBOwnership = true;
}
]
;
};
services.postgresqlBackup = {
enable = true;