fix for copyfail and dirty frag on nixos
In leu of a patch you can disable kernel modules responsible for copyfail and dirty frag in nixos with the following
on non nix systems it should be sufficent to add the contents of fix_modprobe.conf to modprobe.d
his will blacklist modules from loading but wont unload them a restart is reccomended
in leu of a restart you may use
sudo rmmod algif_aead algif_skcipher algif_hash af_alg
for copy fail
and
sudo rmmod esp4 esp6 rxrpc
for dirty frag
PS i am not a security expert or particularly knowledgable about kernel modules, this fix may be insufficent or broken on your system use at your own risk