diff options
author | makefu <github@syntax-fehler.de> | 2019-07-20 00:09:47 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-07-20 00:09:47 +0200 |
commit | c929afa9f3513eb457aa72762514ccfd3407dcb7 (patch) | |
tree | c8eb8a054dabdae2546afe51abfac6111e801816 /krebs/1systems | |
parent | 1eeccb54a2ca0a2451781c0d528a410dbffae3c2 (diff) |
wolf.r: grafana to seperate config
Diffstat (limited to 'krebs/1systems')
-rw-r--r-- | krebs/1systems/wolf/config.nix | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/krebs/1systems/wolf/config.nix b/krebs/1systems/wolf/config.nix index 3c3cf61fa..f3db30fc4 100644 --- a/krebs/1systems/wolf/config.nix +++ b/krebs/1systems/wolf/config.nix @@ -1,7 +1,6 @@ { config, pkgs, ... }: let shack-ip = config.krebs.build.host.nets.shack.ip4.addr; - influx-host = "127.0.0.1"; ext-if = "et0"; external-mac = "52:54:b0:0b:af:fe"; @@ -56,11 +55,13 @@ in <stockholm/krebs/2configs/stats/wolf-client.nix> <stockholm/krebs/2configs/shack/netbox.nix> + # prometheus.shack <stockholm/krebs/2configs/shack/prometheus/server.nix> <stockholm/krebs/2configs/shack/prometheus/node.nix> <stockholm/krebs/2configs/shack/prometheus/unifi.nix> + # grafana.shack + <stockholm/krebs/2configs/shack/grafana.nix> <stockholm/krebs/2configs/collectd-base.nix> # home-assistant - { services.influxdb.enable = true; } ]; # use your own binary cache, fallback use cache.nixos.org (which is used by @@ -70,15 +71,6 @@ in # local discovery in shackspace nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; }; krebs.tinc.retiolum.extraConfig = "TCPOnly = yes"; - services.grafana = { - enable = true; - addr = "0.0.0.0"; - users.allowSignUp = true; - users.allowOrgCreate = true; - users.autoAssignOrg = true; - auth.anonymous.enable = true; - security = import <secrets/grafana_security.nix>; - }; nix = { # use the up to date prism cache |