summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/prometheus/unifi.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-07-04 13:00:04 +0200
committertv <tv@krebsco.de>2023-07-04 13:00:04 +0200
commit537fa18f762e28f2f475f9e00dedf71914a0c8f6 (patch)
treec10975a55a2def686c10068e9058d9a421b73791 /krebs/2configs/shack/prometheus/unifi.nix
parent6ad13152c49b86de002b519e9c8bb95085d540f1 (diff)
treewide: replaceChars -> replaceStrings
Diffstat (limited to 'krebs/2configs/shack/prometheus/unifi.nix')
-rw-r--r--krebs/2configs/shack/prometheus/unifi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/shack/prometheus/unifi.nix b/krebs/2configs/shack/prometheus/unifi.nix
index 401ecb024..34e47add9 100644
--- a/krebs/2configs/shack/prometheus/unifi.nix
+++ b/krebs/2configs/shack/prometheus/unifi.nix
@@ -5,6 +5,6 @@
unifiAddress = "https://unifi.shack:8443/";
unifiInsecure = true;
unifiUsername = "prometheus"; # needed manual login after setup to confirm the password
- unifiPassword = lib.replaceChars ["\n"] [""] (builtins.readFile <secrets/shack/unifi-prometheus-pw>);
+ unifiPassword = lib.replaceStrings ["\n"] [""] (builtins.readFile <secrets/shack/unifi-prometheus-pw>);
};
}