dotfiles/modules/nixos/services/netdata.nix
2023-02-20 20:45:56 -05:00

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"; };
};
};
}