mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-12-09 20:17:14 +01:00
matrix: enable shared secret registration
This commit is contained in:
@@ -18,6 +18,11 @@ in {
|
||||
group = config.users.users.matrix-synapse.group;
|
||||
};
|
||||
|
||||
sops.secrets."matrix/synapse/user_registration" = {
|
||||
owner = config.users.users.matrix-synapse.name;
|
||||
group = config.users.users.matrix-synapse.group;
|
||||
};
|
||||
|
||||
services.matrix-synapse-next = {
|
||||
enable = true;
|
||||
|
||||
@@ -34,6 +39,7 @@ in {
|
||||
|
||||
extraConfigFiles = [
|
||||
config.sops.secrets."matrix/synapse/dbconfig".path
|
||||
config.sops.secrets."matrix/synapse/user_registration".path
|
||||
];
|
||||
|
||||
settings = {
|
||||
|
||||
Reference in New Issue
Block a user