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/grafana.nix | |
parent | 8fc162ee3d9525a2b45346a1ca8f34ccb5ef971b (diff) |
treewide: don't reference <secrets> explicitly
Diffstat (limited to 'krebs/2configs/shack/grafana.nix')
-rw-r--r-- | krebs/2configs/shack/grafana.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/krebs/2configs/shack/grafana.nix b/krebs/2configs/shack/grafana.nix index f42f1c4af..78ef29f97 100644 --- a/krebs/2configs/shack/grafana.nix +++ b/krebs/2configs/shack/grafana.nix @@ -1,7 +1,6 @@ -let +{ config, ... }: let port = 3000; in { - networking.firewall.allowedTCPPorts = [ port ]; # legacy services.nginx.virtualHosts."grafana.shack" = { locations."/" = { @@ -25,6 +24,6 @@ in { users.allowOrgCreate = true; users.autoAssignOrg = true; auth.anonymous.enable = true; - security = import <secrets/grafana_security.nix>; + security = import "${config.krebs.secret.directory}/grafana_security.nix"; }; } |