diff options
author | tv <tv@krebsco.de> | 2023-09-11 15:31:13 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-09-11 16:10:41 +0200 |
commit | 5370e0485788224126861e076110ac705013d2de (patch) | |
tree | 15838192c1ebf685733cbf39b3f3e37fd1ebd639 /krebs/2configs/shack/prometheus | |
parent | 8fc162ee3d9525a2b45346a1ca8f34ccb5ef971b (diff) |
treewide: don't reference <secrets> explicitly
Diffstat (limited to 'krebs/2configs/shack/prometheus')
-rw-r--r-- | krebs/2configs/shack/prometheus/unifi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/shack/prometheus/unifi.nix b/krebs/2configs/shack/prometheus/unifi.nix index 34e47add9..1e42779f0 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.replaceStrings ["\n"] [""] (builtins.readFile <secrets/shack/unifi-prometheus-pw>); + unifiPassword = lib.replaceStrings ["\n"] [""] (builtins.readFile "${config.krebs.secret.directory}/shack/unifi-prometheus-pw"); }; } |