Thanks for help Peter, But I have in dmesg now:
[ 2.027361] stage-2-init: /nix/store/zv42ylc0jangv5kv437577qq79v3xq5n-nixos-system-strale-17.03.1033.99dfb6dce3/activate: line 136: /sys/bus/usb/drivers/rt2800usb/new_id: No such file or directory How to make it to wait for kernel module? On Tue, May 9, 2017 at 9:44 AM, Peter Hoeg <pe...@hoeg.com> wrote: > Hi, > > I have made my USB WiFi to work, >> but I have to call this script whenever I restart the computer. >> > > you can do it this way: > > system.activationScripts = { > rt2800usb = { > text = '' > echo "0b05 17e8" > /sys/bus/usb/drivers/rt2800usb/new_id > ''; > deps = []; > }; > }; > > -- > Regards, > Peter > -- Strahinja Popovic
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev