A nixos module taking advice from http://make-linux-fast-again.com
Check out this repository somewhere, e.g. in /etc/nixos/make-nixos-fast-again
and add this to your configuration.nix
:
imports = [ # ... other imports ... ./make-nixos-fast-again ];