forked from mirrors/nixpkgs
nixos/tests/gitea: fix eval warnings
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.)
This commit is contained in:
parent
f90a60a33c
commit
c0829a0859
|
@ -45,7 +45,7 @@ with pkgs.lib;
|
||||||
{
|
{
|
||||||
services.gitea.enable = true;
|
services.gitea.enable = true;
|
||||||
services.gitea.database.type = "postgres";
|
services.gitea.database.type = "postgres";
|
||||||
services.gitea.database.password = "secret";
|
services.gitea.database.passwordFile = pkgs.writeText "db-password" "secret";
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
|
|
Loading…
Reference in a new issue