diff options
author | Pierre Bourdon <delroth@gmail.com> | 2019-02-11 03:10:56 +0100 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2019-02-11 03:13:03 +0100 |
commit | c0829a0859b33f1b3ff264bece9955730d7edf15 (patch) | |
tree | ddd3e2468d4f1ff4aac5388f8f49f6e5bd31687e /nixos/tests/gitea.nix | |
parent | f90a60a33c77245e53aea93807598ad7aa7b84a5 (diff) |
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.)
Diffstat (limited to 'nixos/tests/gitea.nix')
-rw-r--r-- | nixos/tests/gitea.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix index 28e6479e9cbed..d43efc3687a74 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 = '' |