diff options
author | makefu <github@syntax-fehler.de> | 2016-01-23 00:27:33 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-01-23 00:30:09 +0100 |
commit | 7b402a6601b87783c0bef203b2ac192de1a26f79 (patch) | |
tree | ce336f404c661cdc505fa8d8a0df9c25b16be261 /shared/1systems | |
parent | 631c8b6fdeed5c4a45015cdeec6347aeb5a7ad42 (diff) |
s 1 wolf: add grafana service
Diffstat (limited to 'shared/1systems')
-rw-r--r-- | shared/1systems/wolf.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/shared/1systems/wolf.nix b/shared/1systems/wolf.nix index f05356f..8cf5be7 100644 --- a/shared/1systems/wolf.nix +++ b/shared/1systems/wolf.nix @@ -12,10 +12,21 @@ in ../2configs/shack-nix-cacher.nix ../2configs/shack-drivedroid.nix ../2configs/buildbot-standalone.nix - ../2configs/graphite.nix + # ../2configs/graphite.nix ]; # use your own binary cache, fallback use cache.nixos.org (which is used by # apt-cacher-ng in first place) + + services.grafana = { + enable = true; + addr = "0.0.0.0"; + extraOptions = { "AUTH_ANONYMOUS_ENABLED" = "true"; }; + users.allowSignUp = true; + users.allowOrgCreate = true; + users.autoAssignOrg = true; + security = import <secrets/grafana_security.nix>; + }; + nix.binaryCaches = [ "http://localhost:3142/nixos" "https://cache.nixos.org" ]; networking = { |