diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-03-19 10:06:11 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-03-19 10:06:11 +0100 |
commit | 8f819565f60c07be32d01c1dd80d3fbca6d2e5bf (patch) | |
tree | 0e4977dcdfffac282a2cd352663e752f63242e7d | |
parent | Add matrix domain (diff) | |
download | Rory-Open-Architecture-8f819565f60c07be32d01c1dd80d3fbca6d2e5bf.tar.xz |
Add pam provider
-rwxr-xr-x | host/Rory-synapse/configuration.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/host/Rory-synapse/configuration.nix b/host/Rory-synapse/configuration.nix index 895f58b..85eb834 100755 --- a/host/Rory-synapse/configuration.nix +++ b/host/Rory-synapse/configuration.nix @@ -142,8 +142,18 @@ #matrix-synapse-mjolnir-antispam matrix-synapse-pam ]; - - + extraConfigFiles = [ + (pkgs.writeTextFile { + name = "matrix-synapse-extra-config.yml"; + text = '' + password_providers: + - module: "pam_auth_provider.PAMAuthProvider" + config: + create_users: true + skip_user_check: false + ''; + }) + ]; }; # Alicia - doesnt work yet... until in nixpkgs... |