2015-12-04 6:12 GMT+03:00 rohit yadav <[email protected]>: > 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 _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
