Don't change the password on every build...
This commit is contained in:
parent
b939506879
commit
34f12633a1
|
@ -275,8 +275,9 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable (let
|
config = mkIf cfg.enable (let
|
||||||
postgresPasswd =
|
postgresPasswd = readFile
|
||||||
readFile (pkgs.lib.passwd.random-passwd-file "lemmy-postgres-passwd" 30);
|
(pkgs.lib.passwd.stablerandom-passwd-file "lemmy-postgres-passwd"
|
||||||
|
config.instance.build-seed);
|
||||||
pictrsApiKey =
|
pictrsApiKey =
|
||||||
readFile (pkgs.lib.passwd.random-passwd-file "lemmy-pictrs-api-key" 30);
|
readFile (pkgs.lib.passwd.random-passwd-file "lemmy-pictrs-api-key" 30);
|
||||||
adminPasswd = readFile
|
adminPasswd = readFile
|
||||||
|
|
Loading…
Reference in New Issue