mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 15:22:55 +00:00
17 lines
283 B
Nix
17 lines
283 B
Nix
{ config, lib, ... }: {
|
|
|
|
options.netdata.enable = lib.mkEnableOption "Netdata metrics.";
|
|
|
|
config = lib.mkIf config.netdata.enable {
|
|
|
|
services.netdata = {
|
|
enable = true;
|
|
|
|
# Disable local dashboard (unsecured)
|
|
config = { web.mode = "none"; };
|
|
};
|
|
|
|
};
|
|
|
|
}
|