- Move some system configuration to options:

* system.nssModules
  * system.modulesTree
  * system.sbin.modprobe
  * system.sbin.mount
  * nix.envVars

- Remove Arguments that can be accessed either by "config" or "pkgs".

- Use the new scheme for upstart-jobs/default.nix.
This is now a configuration file which is imported by system/options.nix.

- Jobs can now include upstart-job/default.nix:
  * upstrat-jobs/cron.nix
  * upstart-jobs/dhclient.nix

=> No Nixos file refers to upstart-jobs/default.nix except if one of its options is require to define an extra job. (e.g.: cron, dhclient)

svn path=/nixos/branches/fix-style/; revision=13327
This commit is contained in:
Nicolas Pierron
2008-11-18 18:00:09 +00:00
parent d7c321c64a
commit 892d12bccf
10 changed files with 227 additions and 121 deletions

View File

@@ -51,7 +51,7 @@ where <replaceable>attr</replaceable> is an attribute in
<listitem><para>An attribute set containing the Upstart jobs. For
instance, the <varname>sshd</varname> Upstart job can be built by
doing <literal>nix-build /etc/nixos/nixos -A
upstartJobs.sshd</literal>.</para></listitem>
tests.upstartJobs.sshd</literal>.</para></listitem>
</varlistentry>
</variablelist>