1 { config, lib, pkgs, ... }:
6 cfg = config.programs.wavemon;
13 description = lib.mdDoc ''
14 Whether to add wavemon to the global environment and configure a
15 setcap wrapper for it.
21 config = mkIf cfg.enable {
22 environment.systemPackages = with pkgs; [ wavemon ];
23 security.wrappers.wavemon = {
26 capabilities = "cap_net_admin+ep";
27 source = "${pkgs.wavemon}/bin/wavemon";