Commit graph

142 commits

Author SHA1 Message Date
Eelco Dolstra f2780fdc62 * Add a top-level default.nix for NixOS which has attributes useful
for building parts of the system.  E.g.

  $ nix-build /etc/nixos/nixos -A upstartJobs.xserver

  to build the Upstart job for the X server, or

  $ nix-build /etc/nixos/nixos -A kernel

  to build the NixOS kernel.

* /etc/profile.sh: if ~/.nix-defexpr doesn't exist yet, create it as a
  directory and add links to root's channels, /etc/nixos/nixos and
  /etc/nixos/install-source.nix (as "nixpkgs_sys").
  
* boot.useKernel -> boot.kernel.

svn path=/nixos/trunk/; revision=9334
2007-09-18 15:06:24 +00:00
Marc Weber 53a8d28f06 added udev rule to move /dev/tun to the place /dev/net/tun which most distros are using by default as well as tunctl
svn path=/nixos/trunk/; revision=9252
2007-09-04 13:44:26 +00:00
Yury G. Kudryashov 0c4a936419 Added .xsession support
If user have ~/.xsession file it will be sourced.

svn path=/nixos/trunk/; revision=9231
2007-09-01 17:57:04 +00:00
Michael Raskin f7d2ccdb87 Added mod_php option for httpd.
svn path=/nixos/trunk/; revision=9155
2007-08-18 15:19:27 +00:00
Eelco Dolstra ad22e587ab * nixos-rebuild: do a nix-pull on the Nixpkgs channel manifest. I.e., you
don't need to be subscribed to the Nixpkgs channel to get binary downloads.
  This is possible because nix-pull is now pretty fast.

svn path=/nixos/trunk/; revision=9133
2007-08-15 12:01:20 +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
Michael Raskin 45c9f350b1 Corrected ircd-hybrid to fix the problem with finishing terminal-keeping thread.
svn path=/nixos/trunk/; revision=9107
2007-08-13 10:45:16 +00:00
Michael Raskin db3e598ba9 Corrected IRCD.
svn path=/nixos/trunk/; revision=9103
2007-08-11 21:48:08 +00:00
Michael Raskin 02c3fc72d8 Made ircd-hybrid wait gw6c coming up if it is enabled at all.
svn path=/nixos/trunk/; revision=9096
2007-08-10 18:52:35 +00:00
Eelco Dolstra 9cb4834270 * Add the default profile and the user's profile to $KDEDIRS.
This is necessary for some KDE applications.

svn path=/nixos/trunk/; revision=9087
2007-08-09 19:59:48 +00:00
Michael Raskin bb25a6ef96 Added short keep-alive period to gw6c, added ircd-hybrid service.
svn path=/nixos/trunk/; revision=9071
2007-08-08 20:42:25 +00:00
Michael Raskin 8843f3c287 Corrected dependencies for gw6c; also made httpd depend on gw6c if needed.
svn path=/nixos/trunk/; revision=9029
2007-08-02 21:26:38 +00:00
Eelco Dolstra 333d0dfe17 * Forward udev events to HAL.
svn path=/nixos/trunk/; revision=9016
2007-07-22 02:07:02 +00:00
Michael Raskin 055a950331 Apache httpd customization - extraDirectories & noUserDir .
svn path=/nixos/trunk/; revision=8985
2007-07-15 11:16:01 +00:00
Michael Raskin bf1033d2cb Added Gateway6 upstart-job and options for it. Sudo configuration for PAM
is added (it is needed anyway), but still only NOPASSWD entries work.

svn path=/nixos/trunk/; revision=8966
2007-07-09 11:21:04 +00:00
Yury G. Kudryashov cd1023c50d * Added boot.initrd.lvm flag for use NixOS with LVM2 root partition.
* Added sis support for xserver.

svn path=/nixos/trunk/; revision=8924
2007-06-28 09:57:36 +00:00
Eelco Dolstra f3f16dc169 * ALSA requires a group named "audio".
svn path=/nixos/trunk/; revision=8863
2007-06-10 20:17:51 +00:00
Eelco Dolstra 4d4387a70e * Allow jobs to specify groups.
svn path=/nixos/trunk/; revision=8862
2007-06-10 20:13:12 +00:00
Eelco Dolstra ea9e6bdbac * Re-enable some essential X server modules (in particular
extmod, which contains XVideo).

svn path=/nixos/trunk/; revision=8857
2007-06-09 21:12:48 +00:00
Eelco Dolstra 258ef4bf19 * Upstart job for HAL.
svn path=/nixos/trunk/; revision=8854
2007-06-09 20:05:04 +00:00
Eelco Dolstra 02514fc802 * /var/state -> /var/run.
svn path=/nixos/trunk/; revision=8852
2007-06-09 19:46:57 +00:00
Eelco Dolstra f70df0b275 * Added a job to start the D-Bus system-wide message bus daemon.
svn path=/nixos/trunk/; revision=8848
2007-06-08 18:56:55 +00:00
Eelco Dolstra 29c5178bdf * Declarative specification of user accounts. Jobs can now specify a
list of user accounts that the job needs to run.  For instance, the
  SSH daemon job says:

    { name = "sshd";
      uid = (import ../system/ids.nix).uids.sshd;
      description = "SSH privilege separation user";
      home = "/var/empty";
    }

  The activation script creates the system users/groups and updates
  them as well.  So a change in the Nix expression can be realised in
  /etc/{group,passwd} by running nixos-rebuild.

svn path=/nixos/trunk/; revision=8846
2007-06-08 15:41:12 +00:00
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 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 bec6f8a516 * Ignore modprobe errors.
svn path=/nixos/trunk/; revision=8713
2007-05-16 19:43:28 +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 719112e7bb * Add ~/bin to the PATH.
svn path=/nixos/trunk/; revision=8557
2007-04-10 14:18:15 +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 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 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 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 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 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 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 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