WIP: feat(authelia): Add authentication with authelia
This commit is contained in:
parent
94ec261a94
commit
9869157c07
6 changed files with 171 additions and 9 deletions
configuration/services
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.postgresql = {
|
||||
package = pkgs.postgresql_14;
|
||||
|
@ -17,10 +17,18 @@
|
|||
# that operation needs to be performed manually on the system as
|
||||
# well.
|
||||
ensureUsers = [
|
||||
{
|
||||
name = config.services.authelia.instances.tlaternet.user;
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "grafana";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "lldap";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "nextcloud";
|
||||
ensureDBOwnership = true;
|
||||
|
@ -28,7 +36,9 @@
|
|||
];
|
||||
|
||||
ensureDatabases = [
|
||||
config.services.authelia.instances.tlaternet.user
|
||||
"grafana"
|
||||
"lldap"
|
||||
"nextcloud"
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue