Commit graph

14 commits

Author SHA1 Message Date
Eelco Dolstra 5ebdee3577 * Continued refactoring the tree: moved most Upstart jobs (namely
those that run daemons) to modules/services.  This probably broke
  some things since there are a few relative paths in modules
  (e.g. imports of system/ids.nix).
* Moved some PAM modules out of etc/pam.d to the directories of NixOS
  modules that use them.

svn path=/nixos/branches/modular-nixos/; revision=15717
2009-05-24 23:13:23 +00:00
Nicolas Pierron bb8fc2646e Substitute the "require" of imported modules by module paths.
$ sed -i '/require =/ { :b; s,(import \([^)]*\)),\1,; /];/ { b e }; n; b b; :e }' *.nix


svn path=/nixos/branches/modular-nixos/; revision=15660
2009-05-19 23:14:45 +00:00
Nicolas Pierron 2f0e8e370a Update argument style.
svn path=/nixos/branches/fix-style/; revision=13584
2008-12-04 15:48:27 +00:00
Nicolas Pierron 892d12bccf - 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
2008-11-18 18:00:09 +00:00
Nicolas Pierron b73a579d18 Fix previous commit.
svn path=/nixos/trunk/; revision=13229
2008-11-08 21:45:58 +00:00
Nicolas Pierron 4a55f02005 "dhclient.nix" is now a self-contained job.
svn path=/nixos/trunk/; revision=13228
2008-11-08 21:32:48 +00:00
Eelco Dolstra cc3803f207 * An Upstart job for ifplugd, which monitors Ethernet interfaces
for cables being plugged in or unplugged.  When this occurs, the
  dhclient service is restarted to automatically obtain a new IP 
  address.  This is useful for roaming users (laptops).

svn path=/nixos/trunk/; revision=9124
2007-08-14 16:43:56 +00:00
Eelco Dolstra 4f3b2290b2 * FHS compliance: put persistent state in /var/lib, not /var/state.
svn path=/nixos/trunk/; revision=8377
2007-03-20 11:04:45 +00:00
Eelco Dolstra ed36857d5e * Don't start dhclient on interfaces that are explicitly configured.
svn path=/nixos/trunk/; revision=8014
2007-02-22 14:26:53 +00:00
Eelco Dolstra e23de214ab * Only start dhclient on real network interfaces like eth0, not aliases like eth0:0.
svn path=/nixos/trunk/; revision=8012
2007-02-22 14:06:15 +00:00
Eelco Dolstra ef8e5716cb * Set the right PATH for dhclient.
svn path=/nixos/trunk/; revision=7925
2007-02-20 14:59:29 +00:00
Eelco Dolstra 619c3e0465 * Don't use the DHCP wrapper.
svn path=/nixos/trunk/; revision=7921
2007-02-20 14:20:33 +00:00
Eelco Dolstra acf656125c * Lots of refactoring.
* Clear the PATH in most scripts.  This helps to ensure purity.

svn path=/nixos/trunk/; revision=7299
2006-12-10 22:29:44 +00:00
Eelco Dolstra 0817c307dc * Moving stuff around.
svn path=/nixos/trunk/; revision=7155
2006-11-27 19:49:05 +00:00
Renamed from test/upstart-jobs/dhclient.nix (Browse further)