forked from clan/clan-core
Merge pull request 'matrix-synapse: add missing xkcdpass to password generator' (#1608) from matrix into main
This commit is contained in:
commit
be868ee107
@ -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}"}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user