update: system update & refactor
# Breaking Changes - sops location movod to "system/dev/<dev-name>/sops/sops-conf.nix" - flake devices declaration changes - whole flake update
This commit is contained in:
parent
321f740af0
commit
6a71b601f5
116 changed files with 2576 additions and 3634 deletions
|
|
@ -3,7 +3,6 @@
|
|||
dbPassFile,
|
||||
dkimKey,
|
||||
ldapConf,
|
||||
oidcConf,
|
||||
domain ? null,
|
||||
acmeConf ? null,
|
||||
enableNginx ? true,
|
||||
|
|
@ -102,17 +101,6 @@ in
|
|||
};
|
||||
acme."letsencrypt" = mkIf (acmeConf != null) acmeConf;
|
||||
|
||||
session.auth = {
|
||||
mechanisms = "[plain login oauthbearer]";
|
||||
directory = mkCondition "listener != 'smtp'" "'ldap'" false;
|
||||
require = mkCondition "listener != 'smtp'" true false;
|
||||
};
|
||||
|
||||
session.rcpt = {
|
||||
relay = mkCondition "!is_empty(authenticated_as)" true false;
|
||||
directory = "'*'";
|
||||
};
|
||||
|
||||
directory = {
|
||||
"in-memory" = {
|
||||
type = "memory";
|
||||
|
|
@ -129,7 +117,6 @@ in
|
|||
imap.lookup.domains = [
|
||||
domain
|
||||
];
|
||||
"oidc" = oidcConf;
|
||||
};
|
||||
authentication.fallback-admin = {
|
||||
user = "admin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue