* extraSubservices: the subservice config no longer needs to be

in a `config' attribute.  So instead of

    extraSubservices = [
      { serviceName = "foo";
        config = {
          bla = ...;
        };
      }
    ];

  you can write

    extraSubservices = [
      { serviceName = "foo";
        bla = ...;
      }
    ];

svn path=/nixos/trunk/; revision=12024
This commit is contained in:
Eelco Dolstra 2008-06-09 16:35:24 +00:00
parent f17f9e301f
commit 5235acb1d7
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ let
svcFunction =
if svc ? function then svc.function
else import (./noDir/.. + ("/" + svc.serviceName + ".nix"));
config = addDefaultOptionValues res.options svc.config;
config = addDefaultOptionValues res.options
(if svc ? config then svc.config else svc);
defaults = {
extraConfig = "";
extraModules = [];