summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2019-02-11 03:10:56 +0100
committerPierre Bourdon <delroth@gmail.com>2019-02-11 03:13:03 +0100
commitc0829a0859b33f1b3ff264bece9955730d7edf15 (patch)
treeddd3e2468d4f1ff4aac5388f8f49f6e5bd31687e /nixos
parentf90a60a33c77245e53aea93807598ad7aa7b84a5 (diff)
downloadnixpkgs-c0829a0859b33f1b3ff264bece9955730d7edf15.tar
nixpkgs-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.gz
nixpkgs-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.bz2
nixpkgs-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.lz
nixpkgs-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.xz
nixpkgs-c0829a0859b33f1b3ff264bece9955730d7edf15.tar.zst
nixpkgs-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.)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/gitea.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix
index 28e6479e9cb..d43efc3687a 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 = ''