[Nix-dev] How to write module outside the nixpkgs tree and integrated with nixos-rebuild

rohit yadav rohityadav7787 at gmail.com
Fri Dec 4 06:18:35 CET 2015


Thanks! This is exactly I was looking for. I should have looked more before
posting this query.

--
Rohit

On Thu, Dec 3, 2015 at 10:14 PM, Игорь Пашев <pashev.igor at gmail.com> wrote:

> 2015-12-04 6:12 GMT+03:00 rohit yadav <rohityadav7787 at gmail.com>:
> > Hi,
> >
> > How to write a NixOS module that is outside the nixpkgs tree and
> integrate
> > it with nixos-rebuild. I particularly want to define few services which
> > should be run in a particular order. I believe I can define them
> directly in
> > /etc/systemd/system folder (but this defeats the purpose of nix).
> >
>
> Use imports = [ <your modules> ]; in /etc/nixos/configuration.nix
>
> https://nixos.org/wiki/NixOS:extend_NixOS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151203/6be4969b/attachment.html 


More information about the nix-dev mailing list