Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
nixos/tests/gitea: fix eval warnings
Browse files Browse the repository at this point in the history
trace: warning: config.services.gitea.database.password will be stored as plaintext
        in the Nix store. Use database.passwordFile instead.

(Arguably, this shouldn't be a warning at all. But making it happy is
easier than having a debate on the value of this warning.)
  • Loading branch information
delroth committed Feb 11, 2019
1 parent f90a60a commit c0829a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/gitea.nix
Expand Up @@ -45,7 +45,7 @@ with pkgs.lib;
{
services.gitea.enable = true;
services.gitea.database.type = "postgres";
services.gitea.database.password = "secret";
services.gitea.database.passwordFile = pkgs.writeText "db-password" "secret";
};

testScript = ''
Expand Down

0 comments on commit c0829a0

Please sign in to comment.