diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2022-11-08 18:09:33 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2022-11-20 18:21:40 +0100 |
commit | febc8a43076c247beb3c868662a14cbb98b55f68 (patch) | |
tree | 9670ab9329bd1842e1cf217361d97331732b8098 /nixos | |
parent | 03b34e85d43249d6b990b28b99bf0e72e93302a4 (diff) |
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.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/grafana/provision/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/grafana/provision/default.nix b/nixos/tests/grafana/provision/default.nix index 7ff7ed74a977e..7ec1be6c4d1a7 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"}}"; }; }; }; |