summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/wolf/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-11-10 22:34:50 +0100
committerlassulus <lassulus@lassul.us>2017-11-10 22:34:50 +0100
commit4c083777ddf71f7cbd12a1b094aa50e18ab89d2d (patch)
tree7595238893e6dddb68b32f14ddda7c823a576945 /krebs/1systems/wolf/config.nix
parentbc1dbd6d0ab121682c67dae85711ccab027401ae (diff)
parent886bd92d8b7620454ab2e701e1c1c1d20cf73b6d (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/1systems/wolf/config.nix')
-rw-r--r--krebs/1systems/wolf/config.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/krebs/1systems/wolf/config.nix b/krebs/1systems/wolf/config.nix
index 21ae20ea0..4d0c0ffa5 100644
--- a/krebs/1systems/wolf/config.nix
+++ b/krebs/1systems/wolf/config.nix
@@ -26,9 +26,13 @@ in
<stockholm/krebs/2configs/shack/share.nix>
{
systemd.services.telegraf.path = [ pkgs.net_snmp ]; # for snmptranslate
- #systemd.services.telegraf.environment = {
- # "MIBDIRS" : ""; # extra mibs like ADSL
- #};
+ systemd.services.telegraf.environment = {
+ MIBDIRS = pkgs.fetchgit {
+ url = "http://git.shackspace.de/makefu/modem-mibs.git";
+ sha256 =
+ "a4244aa43ddd6e3ef9e64bb80f4ee952f68232aa008d3da9c78e3b627e5675c8";
+ }; # extra mibs like ADSL
+ };
services.telegraf = {
enable = true;
extraConfig = {