merge auth SP module into main configuration; add enableSso option

`enableSso` is being added to the following SP modules:
* gitea (forgejo)
* nextcloud
* roundcube
* simple-nixos-mailserver
This commit is contained in:
Alexander Tomokhov
2025-01-29 18:17:17 +04:00
parent 3a8a3dfc95
commit 29d1759186
12 changed files with 59 additions and 105 deletions

View File

@@ -2,8 +2,9 @@
rec {
auth-passthru = config.passthru.selfprivacy.auth;
domain = config.selfprivacy.domain;
is-auth-enabled = config.selfprivacy.modules.auth.enable or false;
group = "dovecot2";
is-auth-enabled =
config.selfprivacy.modules.simple-nixos-mailserver.enableSso;
appendSetting =
{ name, file, prefix, suffix ? "", passwordFile, destination }: