Hello,

I am trying to write a service module for lighttpd. I came up with a
minimal example [1] which is giving me the following error upon
rebuilding my system.

> $ nixos-rebuild -I nixos=~/code/nixos build
> Option 'services.lighttpd' defined without option declaration.

I added the following line to <nixos>/modules/module-list.nix and my
Nix expression given in [1] is located at
<nixos>/services/web-servers/lighttpd/default.nix.

> ./services/web-servers/lighttpd/default.nix

How can I make my option services.lighttpd known to NixOS?

Regards,
Alexander Foremny

[1] https://gist.github.com/2771986
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to