From c0829a0859b33f1b3ff264bece9955730d7edf15 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 11 Feb 2019 03:10:56 +0100 Subject: [PATCH] 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.) --- nixos/tests/gitea.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix index 28e6479e9cbe..d43efc3687a7 100644 --- a/nixos/tests/gitea.nix +++ b/nixos/tests/gitea.nix @@ -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 = ''