[Nix-dev] QoS/AQM/shaping on NixOS

Daniel Hlynskyi abcz2.uprola at gmail.com
Thu Oct 27 20:06:41 CEST 2016


Hi Matthew

Such a module is welcome. I can share my configuration for debloating

https://gist.github.com/danbst/58150662994eda45443c3c9a9fbf4172

I've also experimented with original dtaht/deBloat script, but haven't got
much success with it.
The non-working result is at
https://gist.github.com/danbst/7095be258fd8475b8a966dde4dc02ee2

PS. I hadn't done tests if traffic shaping actually works

2016-10-27 19:19 GMT+03:00 Matthew Robbetts <wingfeathera at gmail.com>:

> Hi list,
>
> I am interested in configuring traffic shaping and AQM on my nixos
> machine; I can’t see any modules including anything like it anywhere
> (although I’m happy to be corrected, I’m just grepping through the packages
> repo for mentions of things like ‘qdisc’).
>
> 1) Have I missed something that already exists?
> 2) If not, does anyone have any pointers about the best place in the
> networking system to put it? I see there are modules in
> …/nixos/modules/services/networking/ such as firewall.nix and nat.nix.
> Would you add a new module to this directory or shoehorn it into an
> existing one (or even into modules/config/networking.nix directly)?
>
> I personally only need basic (home-oriented) routing configurations such
> as the one described at:
> https://wiki.gentoo.org/wiki/Traffic_shaping
>
> but would certainly be interested in making things as generic as possible.
> Being able to represent a qdisc tree and its configuration as a nix value
> somehow and have it Just Work would be excellent.
>
> Hints welcome!
>
> Thanks,
> Matt
>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161027/b7b728df/attachment.html>


More information about the nix-dev mailing list