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

Strahinja Popovic stralep at gmail.com
Tue May 9 11:34:12 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/20170509/b2ac0cdb/attachment.html>


More information about the nix-dev mailing list