stockholm/makefu/3modules/logging-config.nix

17 lines
393 B
Nix
Raw Normal View History

2017-01-09 15:03:26 +00:00
{config, lib, pkgs, ... }:
with import <stockholm/lib>;
{
options.makefu.stats-server = lib.mkOption {
type = types.str;
2017-02-05 21:34:16 +00:00
default = "stats.makefu.r";
2017-01-09 15:03:26 +00:00
description = "Central stats server (collectd)";
};
2017-02-05 21:34:16 +00:00
options.makefu.log-server = lib.mkOption {
type = types.str;
default = "logs.makefu.r";
description = "Central logging server (logstash,elasticsearch)";
};
2017-01-09 15:03:26 +00:00
}