dotfiles/modules/nixos/services/netdata.nix

17 lines
283 B
Nix
Raw Permalink Normal View History

2023-02-21 01:45:56 +00:00
{ config, 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"; };
};
};
}