Commit graph

566 commits

Author SHA1 Message Date
Eelco Dolstra
566c723986 * Allow the SLiM theme to be overriden.
* Delete the SLiM log file on X startup.

svn path=/nixos/trunk/; revision=8832
2007-06-05 11:51:59 +00:00
Eelco Dolstra
f8ac666090 * PAM config for SLiM.
* Go back to using blowfish as the default password hash,
  now that SLiM supports it through PAM.

svn path=/nixos/trunk/; revision=8830
2007-06-05 11:28:18 +00:00
Eelco Dolstra
15e3ec8dec * Additional debug options for stage 1 (can be passed on the kernel
command line):
  - debug1devices: drop into a shell after modules have been load and
    device nodes have been created.
  - debug1mounts: drop into a shell after file systems have been
    mounted.

svn path=/nixos/trunk/; revision=8804
2007-05-30 10:32:42 +00:00
Eelco Dolstra
6b627a9ca7 * Back out some Wouter-specific profile settings ;-)
svn path=/nixos/trunk/; revision=8801
2007-05-29 19:54:14 +00:00
Eelco Dolstra
c76fa154a6 * Fix the xserver job on non-nvidia cards.
svn path=/nixos/trunk/; revision=8800
2007-05-29 19:53:03 +00:00
Wouter den Breejen
f8d77aa58e samba fix and xserver cleanup
svn path=/nixos/trunk/; revision=8791
2007-05-28 15:39:25 +00:00
Wouter den Breejen
2e50d9cd58 nixos dir: Xserver and samba nixos
svn path=/nixos/trunk/; revision=8784
2007-05-28 14:09:04 +00:00
Eelco Dolstra
aab8fda25a * Option `networking.localCommands' to specify shell commands to be
executed after the network interfaces have been initialised.

svn path=/nixos/trunk/; revision=8752
2007-05-24 14:50:17 +00:00
Eelco Dolstra
4f5de40814 * Add sysvtools to the system path.
svn path=/nixos/trunk/; revision=8738
2007-05-23 14:29:34 +00:00
Eelco Dolstra
bec6f8a516 * Ignore modprobe errors.
svn path=/nixos/trunk/; revision=8713
2007-05-16 19:43:28 +00:00
Eelco Dolstra
7243eb1d1d * Create /bin on the CD to suppress the /bin/sh symlink creation
error.
* Put the top-level system config on the CD, otherwise root doesn't
  get a working login shell on the CD (and the system PATH is broken
  as well).

svn path=/nixos/trunk/; revision=8658
2007-05-09 17:32:41 +00:00
Eelco Dolstra
a779e582cb * Doh.
svn path=/nixos/trunk/; revision=8651
2007-05-02 22:18:57 +00:00
Eelco Dolstra
14b1e6c758 * Use the latest Nixpkgs on the installation CD.
svn path=/nixos/trunk/; revision=8650
2007-05-02 21:53:23 +00:00
Eelco Dolstra
6d65da8168 * Added /etc/inputrc. TODO: it's more functional to use the
INPUTRC environment variable for this.

svn path=/nixos/trunk/; revision=8637
2007-05-02 09:55:35 +00:00
Eelco Dolstra
66f0d29a48 * Use the new Intel driver.
svn path=/nixos/trunk/; revision=8633
2007-05-01 15:27:50 +00:00
Eelco Dolstra
c1d072c17d * Added `time' to the system path.
svn path=/nixos/trunk/; revision=8600
2007-04-20 08:51:41 +00:00
Eelco Dolstra
719112e7bb * Add ~/bin to the PATH.
svn path=/nixos/trunk/; revision=8557
2007-04-10 14:18:15 +00:00
Eelco Dolstra
128e40a98c * Wrong file name.
svn path=/nixos/trunk/; revision=8555
2007-04-10 14:10:45 +00:00
Eelco Dolstra
3ab4e0f17f * Allow packages to be added to the system path like so:
environment = {
    extraPackages = pkgs: [
      pkgs.firefox
      pkgs.thunderbird
    ];
  };

  This approach is often actually nicer than adding to the default
  profile using nix-env, since it's declarative, and all packages
  declared here will be updated automatically when you run
  nixos-rebuild.

* Allow additional setuid programs to be specified in
  security.extraSetuidPrograms.

svn path=/nixos/trunk/; revision=8548
2007-04-07 21:44:26 +00:00
Eelco Dolstra
6113da3ce1 * Set the permissions of /dev/fuse to 0666.
svn path=/nixos/trunk/; revision=8547
2007-04-07 21:41:29 +00:00
Eelco Dolstra
7efb843481 * Set a default value for $EDITOR.
svn path=/nixos/trunk/; revision=8545
2007-04-07 19:29:34 +00:00
Eelco Dolstra
174f4f2c99 * Set the console font, the keymap, and Unicode/ASCII mode.
svn path=/nixos/trunk/; revision=8542
2007-04-04 17:10:38 +00:00
Eelco Dolstra
464d252d55 * Set the LANG environment variable (default is en_US.UTF-8,
can be overriden through the system configuration).

svn path=/nixos/trunk/; revision=8541
2007-04-04 13:47:54 +00:00
Eelco Dolstra
a9635d3b73 * Upstart job for the CUPS daemon.
svn path=/nixos/trunk/; revision=8534
2007-04-02 17:31:58 +00:00
Eelco Dolstra
e312a8ef64 * Start the SSH agent on X11 login.
svn path=/nixos/trunk/; revision=8531
2007-04-02 15:01:09 +00:00
Eelco Dolstra
3e71bd9731 * Quick hack to prevent the udev job from messing up the device
ownership of logged-in users.

svn path=/nixos/trunk/; revision=8530
2007-04-02 15:00:31 +00:00
Eelco Dolstra
3f65f9ee55 * tty-backgrounds: declare /etc/splash properly.
svn path=/nixos/trunk/; revision=8507
2007-03-30 13:08:01 +00:00
Eelco Dolstra
f10a95e88e * Refactoring: move stuff around.
svn path=/nixos/trunk/; revision=8506
2007-03-30 12:59:43 +00:00
Eelco Dolstra
bf92844f16 * Allow Upstart jobs to declare additional /etc files.
svn path=/nixos/trunk/; revision=8505
2007-03-30 12:55:09 +00:00
Eelco Dolstra
5cf236ba04 * Thsi shouldn't be here.
svn path=/nixos/trunk/; revision=8504
2007-03-30 12:54:42 +00:00
Eelco Dolstra
100efeeafe * Specify the location of XKeyboard related stuff.
svn path=/nixos/trunk/; revision=8501
2007-03-30 12:33:42 +00:00
Eelco Dolstra
1bd112d4a7 * Set the TZDIR variable so that the KDE clock can find the timezone
definitions (NIXOS-56).

svn path=/nixos/trunk/; revision=8488
2007-03-29 17:46:36 +00:00
Eelco Dolstra
9cb9621fec * Start KDE properly. Make sure that some essential packages such as
iceauth are in the system path when we're using KDE.

svn path=/nixos/trunk/; revision=8472
2007-03-28 21:16:35 +00:00
Eelco Dolstra
603e598a84 * Add wireless-tools to the system path.
svn path=/nixos/trunk/; revision=8471
2007-03-28 21:15:23 +00:00
Eelco Dolstra
5c984a7b99 * Don't include ~/.bashrc.
svn path=/nixos/trunk/; revision=8413
2007-03-26 08:54:11 +00:00
Eelco Dolstra
128660d8e2 * Root installs in the system-wide profile
(/nix/var/nix/profiles/default) by default.
* In /etc/profile, put /var/run/current-system/sw/[s]bin in $PATH, not
  the targets of those symlink.  Otherwise users need to log out to
  make configuration changes to the systemPath take effect.

svn path=/nixos/trunk/; revision=8384
2007-03-20 13:50:47 +00:00
Eelco Dolstra
be8bcebfe0 * Use /var/run/current-system/sw/bin/bash as the default shell for new
accounts.  Obviously we cannot put the store path of bash in
  /etc/passwd since it's too fragile (it could be garbage collected),
  hence this indirection.

svn path=/nixos/trunk/; revision=8383
2007-03-20 13:30:14 +00:00
Eelco Dolstra
c10fe148a3 * /var/run/current-system symlinks to the top-level path of the system
configuration now.
* /var/run/booted-system symlinks to the system configuration used at
  boot time.

svn path=/nixos/trunk/; revision=8381
2007-03-20 13:01:53 +00:00
Eelco Dolstra
8447e036fd * Create dhcpd.leases, otherwise dhcpd won't start.
svn path=/nixos/trunk/; revision=8380
2007-03-20 12:34:52 +00:00
Eelco Dolstra
80a0904196 * Set /var/run/current-system to the currently active system
configuration, and use it as a garbage collection root to prevent
  the current configuration from being GC'ed (which was previously
  possible if the configuration was activated using "nixos-rebuild
  test", or if the configuration's generation symlink had been removed
  from the system profile).

  This isn't quite right yet due to a layering problem:
  activate-configuration.sh doesn't know the top-level store path of
  the configuration.

svn path=/nixos/trunk/; revision=8379
2007-03-20 11:45:59 +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
9e9d6a4c62 * Use a bash built with ncurses support for logins.
svn path=/nixos/trunk/; revision=8376
2007-03-20 10:40:45 +00:00
Eelco Dolstra
3d85bc56ff svn path=/nixos/trunk/; revision=8369 2007-03-19 23:00:48 +00:00
Eelco Dolstra
36f01930ed * Take the target platform as a parameter.
* Put the platform name in the name of the ISO image.

svn path=/nixos/trunk/; revision=8364
2007-03-19 20:28:09 +00:00
Eelco Dolstra
8452dd3cd0 * Upstart job for dhcpd.
svn path=/nixos/trunk/; revision=8311
2007-03-16 16:41:38 +00:00
Eelco Dolstra
1ca3258c3f * More failure tolerance.
svn path=/nixos/trunk/; revision=8303
2007-03-16 14:46:56 +00:00
Eelco Dolstra
b670a6d3d8 * Disable the zoom plugin.
svn path=/nixos/trunk/; revision=8277
2007-03-13 11:34:52 +00:00
Eelco Dolstra
4e292cb1ae * Remove unnecessary control characters from PS1.
svn path=/nixos/trunk/; revision=8275
2007-03-13 11:27:15 +00:00
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