1
0
mirror of https://github.com/nmasur/dotfiles synced 2025-02-28 09:52:03 +00:00
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"; };
};
};
}