[Nix-dev] [nix-dev] private NixOS modules
Sergey Mironov
grrwlf at gmail.com
Tue Nov 17 15:04:44 CET 2015
Hi. I'd like to write a couple of NixOS modules which probably don't
look meaningful for large audience. Normally, we keep modules in
nixpkgs/nixos/modules directory and list them in module-list.nix file.
In my case, I'd like to put module in a private place (which is my git
repo which keeps nixpkgs as a Git submodule). Is it possible to
'include' them in the public list to make them accessible from
per-system.nix files?
As a result, I'd like to be able to write in configuration.nix
something like the following:
services.my-custom-service = {
enable = true;
...
}
without including expression for my-custom-service in the public tree.
Regards,
Sergey
More information about the nix-dev
mailing list