Skip to content

Commit

Permalink
fix: add default password for immich user
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablito2020 committed Jul 2, 2024
1 parent 042b0e7 commit abe7b67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/immich.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ in with lib; {
ensureDBOwnership = true;
ensureClauses.login = true;
} ];
initialScript = pkgs.writeText "init-sql-script" ''
ALTER USER immich WITH PASSWORD 'password123';
'';
extraPlugins = mkIf cfg.database.setupPgvectors (ps: with ps; [ pgvecto-rs ]);
settings = mkIf cfg.database.setupPgvectors {
shared_preload_libraries = [ "vectors.so" ];
Expand Down

0 comments on commit abe7b67

Please sign in to comment.