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 | |
parent | f90a60a33c77245e53aea93807598ad7aa7b84a5 (diff) | |
download | nixlib-c0829a0859b33f1b3ff264bece9955730d7edf15.tar nixlib-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.gz nixlib-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.bz2 nixlib-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.lz nixlib-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.xz nixlib-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.zst nixlib-c0829a0859b33f1b3ff264bece9955730d7edf15.zip |
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.)
-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 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 = '' |