[Nix-dev] lighttpd service

Alexander Foremny alexanderforemny at googlemail.com
Wed May 23 00:13:23 CEST 2012


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


More information about the nix-dev mailing list