Commit Graph

1154 Commits

Author SHA1 Message Date
Eelco Dolstra
03e7f296b1 * acpid: switch to the ondemand CPU scaling governer when on battery power.
Disabled acpid by default because it's not configurable enough yet.

svn path=/nixos/trunk/; revision=14070
2009-02-13 12:11:42 +00:00
Eelco Dolstra
cf7fcb98ec * Suspend when the laptop lid is closed.
svn path=/nixos/trunk/; revision=14038
2009-02-11 23:15:07 +00:00
Eelco Dolstra
c83a185090 * Run the ACPI daemon. This allows the system to respond to ACPI
events, like pressing the power button.  The NVIDIA X11 driver also
  needs it to respond to the internal/external monitor switch button
  on laptops.  The power actions should of course be made
  configurable.

svn path=/nixos/trunk/; revision=14027
2009-02-10 23:25:49 +00:00
Eelco Dolstra
b25ee09ceb * Remove /var/lock on startup.
* Remove /etc/mtab on startup.  This fixes the warning on
  startup when catting /proc/mount to /etc/mtab.

svn path=/nixos/trunk/; revision=13986
2009-02-05 16:19:59 +00:00
Eelco Dolstra
ab80d81e54 * Use normal, dynamically linked binaries for e2fsck, lvm etc. in the
initrd instead of a mix of dietlibc, klibc and static-glibc based
  binaries.  This works by copying what we need from Glibc into the
  initrd and using patchelf to set the ELF interpreter and RPATH
  correctly.  The resulting initrd is about 500 KB smaller, but more
  importantly, it's much easier to maintain - all those
  dietlibc/klibc/static-glibc builds frequently cause build problems.

svn path=/nixos/trunk/; revision=13984
2009-02-05 15:57:07 +00:00
Eelco Dolstra
9774eb5798 * Symlink fsck.ext[234] to e2fsck. This makes the initrd 600 KB smaller.
svn path=/nixos/trunk/; revision=13982
2009-02-05 13:23:22 +00:00
Lluís Batlle i Rossell
059ca080b1 Making the 'via' video module available in the xserver upstart-job.
svn path=/nixos/trunk/; revision=13939
2009-02-01 21:23:31 +00:00
Eelco Dolstra
aff7fba098 * Don't run fsck on journalling file systems. Instead assume
that the file system driver will replay the journal at 
  mount-time in case of an unclean shutdown.  For ext3 at least 
  this is *much* faster.

svn path=/nixos/trunk/; revision=13932
2009-02-01 19:53:59 +00:00
Eelco Dolstra
d98f482739 * Start mingetty after udev, otherwise /dev/tty* may not exist yet
(and you get Upstart messages about the ttyN job being restarted).

svn path=/nixos/trunk/; revision=13931
2009-02-01 19:51:53 +00:00
Ludovic Courtès
d641e99375 PulseAudio Upstart job: honor `enable'.
svn path=/nixos/trunk/; revision=13926
2009-02-01 18:35:56 +00:00
Ludovic Courtès
6085b298ae Mount `/dev/shm' (shared memory support).
svn path=/nixos/trunk/; revision=13908
2009-01-29 19:17:55 +00:00
Ludovic Courtès
2b8216bdda Add Upstart job for PulseAudio as a system-wide daemon.
svn path=/nixos/trunk/; revision=13907
2009-01-29 18:28:09 +00:00
Eelco Dolstra
42a83d3391 svn path=/nixos/trunk/; revision=13906 2009-01-29 17:50:28 +00:00
Eelco Dolstra
a3f778c23d * CUPS: use /etc/cups rather than ${cups}/etc/cups as the ServerRoot,
because CUPS modifies files in the ServerRoot directory.  Most
  importantly, it stores printer configuration there.  Previously the
  CUPS server modified the files under ${cups}/etc/cups, which is
  impure and caused all configured printers to disappear any time CUPS
  was upgraded.

svn path=/nixos/trunk/; revision=13892
2009-01-28 14:48:37 +00:00
Sander van der Burg
016e4dc5c3 Increased the sleep hack on the Tomcat service
svn path=/nixos/trunk/; revision=13890
2009-01-28 12:19:42 +00:00
Sander van der Burg
7ac9e76eb6 Some fixes to the Apache Tomcat connector
svn path=/nixos/trunk/; revision=13879
2009-01-27 13:02:56 +00:00
Nicolas Pierron
c3f848e2d6 Remove name arguments from obsolete options.
svn path=/nixos/trunk/; revision=13864
2009-01-25 20:47:30 +00:00
Nicolas Pierron
348afe7dc6 Replace old argument syntax.
svn path=/nixos/trunk/; revision=13848
2009-01-25 15:26:46 +00:00
Nicolas Pierron
61aa32f174 Update argument syntax of configuration files.
svn path=/nixos/trunk/; revision=13847
2009-01-25 15:22:17 +00:00
Eelco Dolstra
788275e47c * Remove a stale lock file that may prevent the
X server from starting.

svn path=/nixos/trunk/; revision=13812
2009-01-20 08:44:41 +00:00
Eelco Dolstra
d532df65dd * Quick hack to make the `info' command work properly by generating
a "dir" file on the fly in a wrapper script.

svn path=/nixos/trunk/; revision=13805
2009-01-19 12:34:14 +00:00
Eelco Dolstra
93c19c4ae9 * CUPS daemon: modprobe usblp so that CUPS can find USB printers.
* CUPS daemon: use Ghostscript to support printing on non-Postscript
  printers.

svn path=/nixos/trunk/; revision=13794
2009-01-17 13:10:06 +00:00
Sander van der Burg
e50e022fc6 Added Apache Tomcat proxy to new Apache upstart service
svn path=/nixos/trunk/; revision=13786
2009-01-16 14:07:54 +00:00
Eelco Dolstra
1603d28819 * Include tune2fs in the initrd. This is useful for
(say) converting from ext3 to ext4.

svn path=/nixos/trunk/; revision=13772
2009-01-15 13:49:00 +00:00
Eelco Dolstra
fbe40a260e * The Linux kernel >= 2.6.27 provides firmware, so add it to the
firmware search path.

svn path=/nixos/trunk/; revision=13770
2009-01-15 10:35:00 +00:00
Michael Raskin
12f4fbfb4b Added guestUsers job for automatical adding guests
svn path=/nixos/trunk/; revision=13732
2009-01-09 00:23:07 +00:00
Michael Raskin
9a46e71e7b Added rogue job used by CD
svn path=/nixos/trunk/; revision=13730
2009-01-08 23:49:22 +00:00
Michael Raskin
0a1f41c742 An upstart job to display manual
svn path=/nixos/trunk/; revision=13728
2009-01-08 23:30:23 +00:00
Michael Raskin
aa393f816c Allowing direct package use in manual expression
svn path=/nixos/trunk/; revision=13724
2009-01-08 21:50:27 +00:00
Michael Raskin
32adf2c521 Option for proxy usage in Nix daemon
svn path=/nixos/trunk/; revision=13689
2009-01-03 09:07:52 +00:00
Michael Raskin
d8c1734b99 Synaptics two-finger scrolling option
svn path=/nixos/trunk/; revision=13663
2008-12-20 14:29:52 +00:00
Eelco Dolstra
67451c470b * Make sure that build-chroot-dirs only contains directories.
svn path=/nixos/trunk/; revision=13657
2008-12-19 10:22:45 +00:00
Eelco Dolstra
8a5bcfb934 svn path=/nixos/trunk/; revision=13653 2008-12-17 14:43:14 +00:00
Eelco Dolstra
9c0953b439 svn path=/nixos/trunk/; revision=13652 2008-12-17 14:30:43 +00:00
Eelco Dolstra
2897911915 * Hydra release expression for building NixOS.
svn path=/nixos/trunk/; revision=13651
2008-12-17 13:25:23 +00:00
Eelco Dolstra
43dc3f6baa * Fix grammar/spelling for some descriptions, and make them produce
well-formed XML in the manual again.

svn path=/nixos/trunk/; revision=13650
2008-12-17 13:06:48 +00:00
Eelco Dolstra
2f4b7d3e09 * Doh.
svn path=/nixos/trunk/; revision=13642
2008-12-16 00:16:35 +00:00
Eelco Dolstra
c155a3f46e * When doing chroot builds, the `build-chroot-dirs' option should
include the closure of /bin/sh.  Otherwise all builders that call
  /bin/sh will fail when using the new chroot implementation, which
  only bind-mounts the inputs of a build rather than the whole Nix
  store.

svn path=/nixos/trunk/; revision=13640
2008-12-15 23:54:10 +00:00
Ludovic Courtès
8373c890a8 atd: Make `at' and friends actually usable by regular users.
This patch makes the `at' commands setuid `atd' (instead of `root')
and fixes the ownership of `/etc/at/at.deny'.

svn path=/nixos/trunk/; revision=13515
2008-11-29 17:36:00 +00:00
Michael Raskin
7a6df0a5a8 Create a low-priority section in system.nix; host goes there
svn path=/nixos/trunk/; revision=13513
2008-11-29 07:10:31 +00:00
Ludovic Courtès
730244f13d lshd: Use `lsh-pam-checkpw' as the password helper program.
This finally allows users to log in using password authentication.

svn path=/nixos/trunk/; revision=13490
2008-11-28 15:44:15 +00:00
Ludovic Courtès
477ea7015c boot-stage-1: Don't run `fsck' when on battery power.
svn path=/nixos/trunk/; revision=13484
2008-11-28 12:03:56 +00:00
Michael Raskin
7ebc1821f9 Fixing build for new kernels when Intel WiFi firmware is used
svn path=/nixos/trunk/; revision=13470
2008-11-27 20:35:26 +00:00
Ludovic Courtès
3919a28971 Add host' to systemPathList'.
svn path=/nixos/trunk/; revision=13462
2008-11-27 15:30:25 +00:00
Marc Weber
d02e581192 fix: FCRON should no longer be build by default
svn path=/nixos/trunk/; revision=13436
2008-11-26 14:38:35 +00:00
Ludovic Courtès
be02b8a87a Use iwlwifi4965ucode' from kernelPackages'.
svn path=/nixos/trunk/; revision=13430
2008-11-26 13:16:59 +00:00
Michael Raskin
23551d0a4d some modules..
svn path=/nixos/trunk/; revision=13419
2008-11-25 18:00:25 +00:00
Eelco Dolstra
e39be7a088 * Commented out the fcron job - for some reason it starts to build fcron
even though it should be disabled by default, and the build fails.
  Strange...

svn path=/nixos/trunk/; revision=13394
2008-11-25 00:05:08 +00:00
Marc Weber
9fefbf1379 add ifEnable to fcron job
svn path=/nixos/trunk/; revision=13383
2008-11-24 09:07:28 +00:00
Marc Weber
eea7e6c213 adding fcron daemon.
I have only tested it with upstart 0.5, maybe you have to fix small things in the job description

svn path=/nixos/trunk/; revision=13369
2008-11-22 17:05:20 +00:00