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

2017-05-12 Thread Strahinja Popovic
; bindsTo = [ "sys-subsystem-net-devices-XXX.device" ]; > script = "echo 0b05 17e8 | tee /sys/bus/usb/drivers/rt2800usb/new_id"; > } > > see `man systemd.device`. > > -- > Proudly written in Mutt with Vim on NixOS. > Q: Why is this email five sentences

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

2017-05-12 Thread Strahinja Popovic
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, -- Strahin

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

2017-05-10 Thread Strahinja Popovic
tall rt2800usb > && echo 0x0B05 0x17E8 >/sys/bus/usb/drivers/rt2800usb/new_id > ''; > > This is from: https://github.com/jethrokuan/nix-config/blob/master/desktop > /configuration.nix > > -- > Regards, > Peter > -- Strahinja Popovic ___

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

2017-05-09 Thread Strahinja Popovic
device isn't plugged > in yet. > > The proper way to do this is to set up modaliases > > /Peter > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > -- Strahin

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

2017-05-09 Thread Strahinja Popovic
= { >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

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

2017-05-09 Thread Strahinja Popovic
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, -- Strahin

Re: [Nix-dev] Wx and Erlang

2014-05-01 Thread Strahinja Popovic
, Strahinja Popovic stra...@gmail.com wrote: Hi, Graphical debugger for erlang is not working for me, giving following message: ERROR: Could not find 'wxe_driver.so' in: /nix/store/qwrw86k079q2klczqcfb38abgib19hfx-erlang-15B03/lib/erlang/lib/wx-0.99.2/priv In SVN revision 34372

Re: [Nix-dev] reboot hangs most of the time

2014-04-08 Thread Strahinja Popovic
I had the same problem, while I have been using SLiM. I am currently using KDM, and it works OK. You might have some other process that is not working properly with systemd. https://wiki.archlinux.org/index.php/Display_manager#Incompatibility_with_systemd On Mon, Apr 7, 2014 at 1:36 PM, Roelof

Re: [Nix-dev] Compiling Thunar from git

2014-03-17 Thread Strahinja Popovic
I have tried all that, it is still not working. Like it is not looking at all inside dbus_libs package. I have attached thunar.nix and make output. On Mon, Mar 17, 2014 at 9:28 AM, emil.rang...@chas.se wrote: On 2014-03-16 20:26, Strahinja Popovic wrote: Now my problem is when compiling

Re: [Nix-dev] Compiling Thunar from git

2014-03-17 Thread Strahinja Popovic
envirioment? On Mon, Mar 17, 2014 at 2:01 PM, Sergey Mironov grr...@gmail.com wrote: 2014-03-17 16:25 GMT+04:00 Vladimír Čunát vcu...@gmail.com: Hi. On 03/17/2014 12:55 PM, Strahinja Popovic wrote: I have tried all that, it is still not working. Like it is not looking at all inside