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

Strahinja Popovic stralep at gmail.com
Tue May 9 19:41:49 CEST 2017


> The proper way to do this is to set up modaliases

Could you please elaborate further?

On Tue, May 9, 2017 at 3:14 PM, Peter Hoeg <peter at hoeg.com> wrote:

> Hi,
>
> I would have gone to systemd.services. Slightly uglier looking (bigger
>> attrset), but should run after the kernel has loaded its modules. I'd
>> say it would be ideal to have it be "PartOf = networking.target"
>> and/or "Before = dhcpd.service" (or whatever networking thingy you
>> use).
>>
>
> Actually, that will not do the trick either if the device isn't plugged
> in yet.
>
> The proper way to do this is to set up modaliases
>
> /Peter
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
Strahinja Popovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170509/4f76d5e8/attachment.html>


More information about the nix-dev mailing list