fix: roundcube metadata
This commit is contained in:
@@ -27,6 +27,10 @@
|
|||||||
homepage = "https://roundcube.net/";
|
homepage = "https://roundcube.net/";
|
||||||
sourcePage = "https://github.com/roundcube/roundcubemail";
|
sourcePage = "https://github.com/roundcube/roundcubemail";
|
||||||
supportLevel = "normal";
|
supportLevel = "normal";
|
||||||
|
sso = {
|
||||||
|
accessGroup = "sp.roundcube.users";
|
||||||
|
adminGroup = "sp.roundcube.admins";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -47,10 +47,11 @@ in
|
|||||||
enableSso = (lib.mkOption {
|
enableSso = (lib.mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
description = "Enable SSO for Roundcube";
|
description = "Enable Single Sign-On";
|
||||||
}) // {
|
}) // {
|
||||||
meta = {
|
meta = {
|
||||||
type = "enable";
|
type = "bool";
|
||||||
|
weight = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -105,8 +106,6 @@ in
|
|||||||
$config['oauth_identity_fields'] = ['email'];
|
$config['oauth_identity_fields'] = ['email'];
|
||||||
$config['oauth_login_redirect'] = true;
|
$config['oauth_login_redirect'] = true;
|
||||||
$config['auto_create_user'] = true;
|
$config['auto_create_user'] = true;
|
||||||
$config['oauth_verify_peer'] = false; # FIXME
|
|
||||||
# $config['oauth_pkce'] = 'S256'; # FIXME
|
|
||||||
'';
|
'';
|
||||||
systemd.services.roundcube = {
|
systemd.services.roundcube = {
|
||||||
after = [ auth-passthru.oauth2-systemd-service ];
|
after = [ auth-passthru.oauth2-systemd-service ];
|
||||||
|
Reference in New Issue
Block a user