Commit graph

568 commits

Author SHA1 Message Date
Eelco Dolstra
8851530afb * Setting boot.localCommands for anything you want to execute before
Upstart is started.

svn path=/nixos/trunk/; revision=8229
2007-03-06 00:45:33 +00:00
Eelco Dolstra
8d731dacad * X session script:
- Set the desktop background to the image ~/.background-image.
  - Depending on services.xserver.sessionType, start an xterm or a
    gnome-terminal as the "desktop" :-)

* Upstart jobs can now declare extra packages to be added to the
  system path through the `extraPath' attribute.  For instance, the
  ALSA job adds alsa-utils, and the X server job adds lots of stuff
  depending on the X configuration (e.g., xrandr, gnome-terminal,
  twm).

* Create a cdrom/dvd symlink for SCSI sr? devices.

svn path=/nixos/trunk/; revision=8221
2007-03-06 00:07:00 +00:00
Eelco Dolstra
ba845b19fb * Doh.
svn path=/nixos/trunk/; revision=8170
2007-03-04 21:25:32 +00:00
Eelco Dolstra
5ea2541f05 * Put compiz plugins in the right order.
svn path=/nixos/trunk/; revision=8169
2007-03-04 13:15:30 +00:00
Eelco Dolstra
797524528b * Doh.
svn path=/nixos/trunk/; revision=8168
2007-03-04 13:15:11 +00:00
Eelco Dolstra
119df37858 * Generate a wrapper around modprobe that sets MODULE_DIR. This is
important for /proc/sys/kernel/modprobe, i.e., modprobing by the
  kernel.

svn path=/nixos/trunk/; revision=8164
2007-03-04 01:16:24 +00:00
Eelco Dolstra
90f1dbe548 * Set some wireless settings (ESSID, WEP key).
svn path=/nixos/trunk/; revision=8163
2007-03-04 00:40:59 +00:00
Eelco Dolstra
2bff886ae1 * Udev rules/script to load device firmware automatically. The udev
job takes a list of firmware directories in which to search for
  firmware files.  Right now this is just the Intel 2200 firmware (if
  enabled).

svn path=/nixos/trunk/; revision=8162
2007-03-03 23:20:08 +00:00
Eelco Dolstra
1a9f5e455e * Don't restart the X server if the xserver job changes, as that would
kill the X clients.

svn path=/nixos/trunk/; revision=8161
2007-03-03 23:18:56 +00:00
Eelco Dolstra
1a66b71e2d * Set NIX_REMOTE when logging in through SSH. Quick hack. Should really
figure out why the environment isn't initialised properly in
  non-interactive SSH logins.

svn path=/nixos/trunk/; revision=8136
2007-03-01 15:31:05 +00:00
Eelco Dolstra
fb2a9d91a1 * Make sure the stop script gets executed on shutdown.
svn path=/nixos/trunk/; revision=8126
2007-03-01 00:50:17 +00:00
Eelco Dolstra
ba56551986 * ALSA support: save/restore the volume settings, create device nodes
in /dev/snd.

svn path=/nixos/trunk/; revision=8124
2007-03-01 00:36:00 +00:00
Eelco Dolstra
a177575779 * Handle windowManager == "compiz". Load Compiz's GConf settings
automatically and turn on most plugins.

svn path=/nixos/trunk/; revision=8122
2007-03-01 00:00:16 +00:00
Eelco Dolstra
5799fe7382 * Some hackery to get Metacity to find its default settings. GConf is
really evil: it requires applications to install their GConf schemas
  into one of a fixed set of directories that gconfd searches.  This
  is of course rather imperative.

svn path=/nixos/trunk/; revision=8120
2007-02-28 23:18:16 +00:00
Eelco Dolstra
8960f038dd * Allow metacity as the window manager.
svn path=/nixos/trunk/; revision=8119
2007-02-28 23:00:09 +00:00
Eelco Dolstra
f948c10999 * Enable compositing in the X server.
svn path=/nixos/trunk/; revision=8118
2007-02-28 22:59:39 +00:00
Eelco Dolstra
31d91b4ec1 * Set build-max-jobs in the Nix configuration file from the NixOS
configuration file.

svn path=/nixos/trunk/; revision=8109
2007-02-28 16:58:35 +00:00
Eelco Dolstra
935042365c * Allow a netmask to be specified for each interface.
svn path=/nixos/trunk/; revision=8099
2007-02-28 14:19:20 +00:00
Eelco Dolstra
36d4802ea6 * Doesn't do anything.
svn path=/nixos/trunk/; revision=8091
2007-02-28 00:51:14 +00:00
Eelco Dolstra
52c9a6c756 svn path=/nixos/trunk/; revision=8078 2007-02-27 19:04:30 +00:00
Eelco Dolstra
94393dbd20 * Create /var/state/opengl-driver.
svn path=/nixos/trunk/; revision=8069
2007-02-27 00:50:22 +00:00
Eelco Dolstra
a50097b9ca * Enable DRI support in the X server.
svn path=/nixos/trunk/; revision=8067
2007-02-27 00:31:04 +00:00
Eelco Dolstra
fdb5a06fa4 * Specify the resolution and the video driver name in the configuration file.
svn path=/nixos/trunk/; revision=8061
2007-02-26 23:11:32 +00:00
Eelco Dolstra
4164a4ff3e * Construct the module path dynamically.
svn path=/nixos/trunk/; revision=8059
2007-02-26 21:39:07 +00:00
Eelco Dolstra
ef92ce06cb * PAM file for chsh.
svn path=/nixos/trunk/; revision=8057
2007-02-26 21:18:13 +00:00
Eelco Dolstra
cc79d8f301 * Set the password hash to md5 for now - SLiM doesn't support
blowfish.  Of course, it should really use PAM.

svn path=/nixos/trunk/; revision=8046
2007-02-25 22:27:45 +00:00
Eelco Dolstra
ef6b45d924 * Start a display manager (SLiM).
svn path=/nixos/trunk/; revision=8045
2007-02-25 22:27:17 +00:00
Eelco Dolstra
426a8b806b * Use xinit to start the X server plus some initial clients (twm + xterm).
svn path=/nixos/trunk/; revision=8043
2007-02-25 16:20:14 +00:00
Eelco Dolstra
3ad2c91939 * Pure X server. All fonts are now in the Nix store.
svn path=/nixos/trunk/; revision=8041
2007-02-25 15:53:57 +00:00
Eelco Dolstra
0828400b36 svn path=/nixos/trunk/; revision=8036 2007-02-23 21:50:32 +00:00
Eelco Dolstra
0ee31b29ef * The daemon needs OpenSSH to be in the PATH for signing/verifying.
svn path=/nixos/trunk/; revision=8025
2007-02-22 18:04:18 +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
e576209a61 * ifconfig up -> ifconfig.
svn path=/nixos/trunk/; revision=8011
2007-02-22 14:00:22 +00:00
Martin Bravenboer
8e6c1ba85d Support organization configuration for subversion
svn path=/nixos/trunk/; revision=8006
2007-02-22 10:55:58 +00:00
Eelco Dolstra
312e3d0e6b * Make ping setuid root.
svn path=/nixos/trunk/; revision=7970
2007-02-21 14:42:56 +00:00
Eelco Dolstra
1dd2eb58be * Set the hardware clock when shutting down.
svn path=/nixos/trunk/; revision=7933
2007-02-20 16:25:49 +00:00
Martin Bravenboer
e99ffcbe71 changed the extraSubservices to a list of functions
svn path=/nixos/trunk/; revision=7931
2007-02-20 15:57:15 +00:00
Eelco Dolstra
a17b1d5c5f * Kill all processes during shutdown so that we can unmount
filesystems cleanly.

svn path=/nixos/trunk/; revision=7930
2007-02-20 15:51:13 +00:00
Eelco Dolstra
454716ef4f * Typo.
svn path=/nixos/trunk/; revision=7928
2007-02-20 15:14:48 +00:00
Martin Bravenboer
eeee6ea1e2 added configuration option for extraSubservices, which allows you to plugin an arbitrary service into the webserver.
svn path=/nixos/trunk/; revision=7926
2007-02-20 15:11:49 +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
66a9cfbcdc * Give everybody access to /dev/kvm. I *think* that's safe...
svn path=/nixos/trunk/; revision=7923
2007-02-20 14:30:05 +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
17cc5ecc47 * Add OpenSSH and pciutils to the boot environment.
svn path=/nixos/trunk/; revision=7918
2007-02-19 22:33:44 +00:00
Eelco Dolstra
06a6116c44 * Allow manual network configuration, i.e., specificying the IP
address, gateway, and nameservers in the system configuration.

svn path=/nixos/trunk/; revision=7898
2007-02-12 16:00:55 +00:00
Eelco Dolstra
d4c172469d * Add $profile/sbin to the PATH.
svn path=/nixos/trunk/; revision=7896
2007-02-12 15:29:43 +00:00
Eelco Dolstra
ac93023f35 * Pass userCreationDomain.
svn path=/nixos/trunk/; revision=7891
2007-02-12 11:57:18 +00:00
Eelco Dolstra
582abdaae2 * Option boot.copyKernels to copy all kernels and initrd to
/boot/kernels.  This is necessary if /nix is on a different file
  system than /.  (And it will allow us to support a separate /boot
  partition too.)

svn path=/nixos/trunk/; revision=7887
2007-02-09 16:19:29 +00:00
Eelco Dolstra
2c62eac3a1 * Check if Subversion is already installed.
svn path=/nixos/trunk/; revision=7886
2007-02-08 19:53:21 +00:00