services.libreqos.settings

NixOS option

open submodule of (TOML value)

Rendered to /etc/lqos.conf. See example configuration for available options. Exactly one of the bridge or single_interface sections must be set. The shaping data files network.json and ShapedDevices.csv in /var/lib/libreqos are mutable (optional) runtime data, normally managed through the web UI or a CRM integration. Empty files are created if they are missing. To manage them declaratively instead, symlink them into place: systemd.tmpfiles.rules = [ "L+ /var/lib/libreqos/network.json - - - - ${./network.json}" "L+ /var/lib/libreqos/ShapedDevices.csv - - - - ${./ShapedDevices.csv}" ];

type: open submodule of (TOML value)
Default
{ }
Example
{
  bridge = {
    use_xdp_bridge = false;
    to_internet = "eth0";
    to_network = "eth1";
  };
  queues = {
    uplink_bandwidth_mbps = 1000;
    downlink_bandwidth_mbps = 1000;
  };
}
declared in: nixos/modules/services/networking/libreqos.nixView source on NixOS/nixpkgs →