[Nix-dev] How to incorporate my Bash script in configuration.nix

Strahinja Popovic stralep at gmail.com
Mon May 8 16:28:48 CEST 2017


Hi everyone,

I have made my USB WiFi to work,
but I have to call this script whenever I restart the computer.

#!/usr/bin/env bash
echo "0b05 17e8"|sudo tee /sys/bus/usb/drivers/rt2800usb/new_id

What is correct way to make this part of configuration.nix?

Cheers,
-- 
Strahinja Popovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170508/098e47f7/attachment-0001.html>


More information about the nix-dev mailing list