dotfiles/modules/nixos/services/netdata.nix

17 lines
289 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }: {
2022-12-21 21:18:03 +00:00
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"; };
};
};
}