1
0
forked from clan/clan-core

matrix-synapse: add missing xkcdpass to password generator

This commit is contained in:
Jörg Thalheim 2024-06-11 15:36:40 +02:00
parent 4a752bb951
commit 36b1bb65af

View File

@ -163,10 +163,7 @@ in
name: user:
lib.nameValuePair "matrix-password-${user.name}" {
secret."matrix-password-${user.name}" = { };
generator.path = with pkgs; [
coreutils
pwgen
];
generator.path = with pkgs; [ xkcdpass ];
generator.script = ''
xkcdpass -n 4 -d - > "$secrets"/${lib.escapeShellArg "matrix-password-${user.name}"}
'';