From febc8a43076c247beb3c868662a14cbb98b55f68 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 8 Nov 2022 18:09:33 +0100 Subject: [PATCH] nixos/tests/grafana: demonstrate how to use the file provider Yes, it's still a store path, but it's only for demonstration purposes. Also we now have fewer warnings in the provision test. --- nixos/tests/grafana/provision/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/grafana/provision/default.nix b/nixos/tests/grafana/provision/default.nix index 7ff7ed74a977..7ec1be6c4d1a 100644 --- a/nixos/tests/grafana/provision/default.nix +++ b/nixos/tests/grafana/provision/default.nix @@ -17,7 +17,7 @@ let security = { admin_user = "testadmin"; - admin_password = "snakeoilpwd"; + admin_password = "$__file{${pkgs.writeText "pwd" "snakeoilpwd"}}"; }; }; };