auth machine

This commit is contained in:
plasmagoat 2025-07-16 02:10:31 +02:00
parent 98dce86882
commit 851a9e18db
34 changed files with 2383 additions and 99 deletions

View file

@ -0,0 +1,23 @@
{lib, ...}: {
services.postgresql = {
enable = true;
ensureDatabases = [
"authelia-procopius"
"lldap"
];
ensureUsers = [
{
name = "authelia-procopius";
ensureDBOwnership = true;
}
{
name = "lldap";
ensureDBOwnership = true;
}
];
authentication = lib.mkForce ''
# TYPE DATABASE USER ADDRESS METHOD
local all all trust
'';
};
}