Commit graph

1225 commits

Author SHA1 Message Date
Nicolas Pierron
a4fc915634 commented out theme because url is broken
svn path=/nixos/branches/fix-style/; revision=14186
2009-02-22 16:08:51 +00:00
Nicolas Pierron
e79dbaad55 * Support for KDE 4.2. Set services.xserver.desktopManager.kde4.enable to
true to enable.  It looks great ;-)

svn path=/nixos/branches/fix-style/; revision=14185
2009-02-22 16:08:46 +00:00
Nicolas Pierron
86f5d9dace added hint about how to get the swap partion kernel node numbers
svn path=/nixos/branches/fix-style/; revision=14184
2009-02-22 16:08:41 +00:00
Nicolas Pierron
802d4f02c4 * Generate the acpid configuration properly: each config file
can only contain one event.

svn path=/nixos/branches/fix-style/; revision=14183
2009-02-22 16:08:37 +00:00
Nicolas Pierron
094aee7467 * 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/branches/fix-style/; revision=14182
2009-02-22 16:08:33 +00:00
Nicolas Pierron
be4a0494b8 * Suspend when the laptop lid is closed.
svn path=/nixos/branches/fix-style/; revision=14181
2009-02-22 16:08:28 +00:00
Nicolas Pierron
128699688a * 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/branches/fix-style/; revision=14180
2009-02-22 16:08:22 +00:00
Nicolas Pierron
f28c8ca553 * 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/branches/fix-style/; revision=14179
2009-02-22 16:08:17 +00:00
Nicolas Pierron
38e8cf175f * 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/branches/fix-style/; revision=14178
2009-02-22 16:08:13 +00:00
Nicolas Pierron
6c703347a8 * Symlink fsck.ext[234] to e2fsck. This makes the initrd 600 KB smaller.
svn path=/nixos/branches/fix-style/; revision=14177
2009-02-22 16:08:09 +00:00
Nicolas Pierron
840dac3fec Making the 'via' video module available in the xserver upstart-job.
svn path=/nixos/branches/fix-style/; revision=14176
2009-02-22 16:08:05 +00:00
Nicolas Pierron
ad36ce1f5b * 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/branches/fix-style/; revision=14175
2009-02-22 16:08:00 +00:00
Nicolas Pierron
09bcf1418c * 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/branches/fix-style/; revision=14174
2009-02-22 16:07:56 +00:00
Nicolas Pierron
d92d0e98f4 PulseAudio Upstart job: honor `enable'.
svn path=/nixos/branches/fix-style/; revision=14173
2009-02-22 16:07:52 +00:00
Nicolas Pierron
b0aa88e7a3 Mount `/dev/shm' (shared memory support).
svn path=/nixos/branches/fix-style/; revision=14172
2009-02-22 16:07:47 +00:00
Nicolas Pierron
0c6afe1dd2 Add Upstart job for PulseAudio as a system-wide daemon.
svn path=/nixos/branches/fix-style/; revision=14171
2009-02-22 16:07:42 +00:00
Nicolas Pierron
6d283c6319 svn path=/nixos/branches/fix-style/; revision=14170 2009-02-22 16:07:37 +00:00
Nicolas Pierron
0addac3473 * 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/branches/fix-style/; revision=14169
2009-02-22 16:07:33 +00:00
Nicolas Pierron
38aac77669 Increased the sleep hack on the Tomcat service
svn path=/nixos/branches/fix-style/; revision=14168
2009-02-22 16:07:29 +00:00
Nicolas Pierron
77db653dfe Some fixes to the Apache Tomcat connector
svn path=/nixos/branches/fix-style/; revision=14167
2009-02-22 16:07:25 +00:00
Nicolas Pierron
08a18fc863 Update argument syntax of configuration files.
svn path=/nixos/branches/fix-style/; revision=14166
2009-02-22 16:07:21 +00:00
Nicolas Pierron
6b1307c6f1 * Remove a stale lock file that may prevent the
X server from starting.

svn path=/nixos/branches/fix-style/; revision=14165
2009-02-22 16:07:16 +00:00
Nicolas Pierron
41b1b80d9e * Quick hack to make the `info' command work properly by generating
a "dir" file on the fly in a wrapper script.

svn path=/nixos/branches/fix-style/; revision=14164
2009-02-22 16:07:10 +00:00
Nicolas Pierron
33445eb221 * 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/branches/fix-style/; revision=14163
2009-02-22 16:07:05 +00:00
Nicolas Pierron
46f1cab80f Added Apache Tomcat proxy to new Apache upstart service
svn path=/nixos/branches/fix-style/; revision=14162
2009-02-22 16:07:01 +00:00
Nicolas Pierron
2e4c1b138f * Include tune2fs in the initrd. This is useful for
(say) converting from ext3 to ext4.

svn path=/nixos/branches/fix-style/; revision=14161
2009-02-22 16:06:57 +00:00
Nicolas Pierron
d5f3418507 Added guestUsers job for automatical adding guests
svn path=/nixos/branches/fix-style/; revision=14160
2009-02-22 16:06:52 +00:00
Nicolas Pierron
f824a1e753 Added rogue job used by CD
svn path=/nixos/branches/fix-style/; revision=14159
2009-02-22 16:06:47 +00:00
Nicolas Pierron
b1eabe2b1b An upstart job to display manual
svn path=/nixos/branches/fix-style/; revision=14158
2009-02-22 16:06:42 +00:00
Nicolas Pierron
fc6d48ef63 Allowing direct package use in manual expression
svn path=/nixos/branches/fix-style/; revision=14157
2009-02-22 16:06:32 +00:00
Nicolas Pierron
95ef8b1694 Option for proxy usage in Nix daemon
Signed-off-by: Nicolas Pierron <nicolas.pierron@lrde.epita.fr>

svn path=/nixos/branches/fix-style/; revision=14156
2009-02-22 16:06:27 +00:00
Nicolas Pierron
1c1c1e0b15 Add a section to help user to extend NixOS.
svn path=/nixos/branches/fix-style/; revision=13861
2009-01-25 15:49:27 +00:00
Nicolas Pierron
ecc761543c Remove name argument of merge functions.
svn path=/nixos/branches/fix-style/; revision=13860
2009-01-25 15:49:23 +00:00
Nicolas Pierron
dcc981840e Use the mergeOneOption function instead of duplicated code.
svn path=/nixos/branches/fix-style/; revision=13859
2009-01-25 15:49:18 +00:00
Nicolas Pierron
639be32a8a Remove obsolete notation. (backwardPkgsFun*)
svn path=/nixos/branches/fix-style/; revision=13858
2009-01-25 15:49:12 +00:00
Nicolas Pierron
b2b6f92d6b Split xserver upstart job into:
- xserver configuration & job
- display manager (slim)
- window manager (compiz, kwm, metacity, twm, wmii, xmonad)
- desktop manager (kde, gnome, xterm)

Added features:
- Add WM choice in slim (with F1)

svn path=/nixos/branches/fix-style/; revision=13857
2009-01-25 15:49:08 +00:00
Nicolas Pierron
fa3437cb35 Remove enableIntel* and enableGo7007 options.
Update nixos-hardware-scan.pl to generate files without these options.

svn path=/nixos/branches/fix-style/; revision=13856
2009-01-25 15:48:59 +00:00
Nicolas Pierron
6086aee542 * The Linux kernel >= 2.6.27 provides firmware, so add it to the
firmware search path.

(Patch from Eelco Dolstra)

svn path=/nixos/branches/fix-style/; revision=13855
2009-01-25 15:48:53 +00:00
Nicolas Pierron
9cdfe5a711 Extract kernel configuration from options.nix.
svn path=/nixos/branches/fix-style/; revision=13854
2009-01-25 15:48:48 +00:00
Nicolas Pierron
9fa758c657 Update the function used to merge option sets.
svn path=/nixos/branches/fix-style/; revision=13853
2009-01-25 15:48:43 +00:00
Nicolas Pierron
67edd3720f Update argument syntax of configuration files.
svn path=/nixos/branches/fix-style/; revision=13852
2009-01-25 15:48:39 +00:00
Nicolas Pierron
bb56774a54 Fix hostname (inverse test).
svn path=/nixos/branches/fix-style/; revision=13851
2009-01-25 15:48:35 +00:00
Nicolas Pierron
08280c415f Add support for wmii.
svn path=/nixos/branches/fix-style/; revision=13850
2009-01-25 15:48:30 +00:00
Nicolas Pierron
b92036e803 Fetch the windows manager pid.
svn path=/nixos/branches/fix-style/; revision=13849
2009-01-25 15:48:25 +00:00
Nicolas Pierron
7aa27dfee2 Merge branches 'fix-style' and 'master' into fix-style
svn path=/nixos/branches/fix-style/; revision=13688
2009-01-02 19:41:39 +00:00
Nicolas Pierron
d745c21aab Merge system/fontdir.nix and system/fonts.nix into a new configuration file.
svn path=/nixos/branches/fix-style/; revision=13686
2009-01-02 16:07:39 +00:00
Nicolas Pierron
e4b0134a43 Add a grub configuration file.
svn path=/nixos/branches/fix-style/; revision=13685
2009-01-02 16:07:34 +00:00
Nicolas Pierron
b67e2a12aa Convert "boot/boot-stage-2.nix" to a configuration file.
svn path=/nixos/branches/fix-style/; revision=13684
2009-01-02 16:07:30 +00:00
Nicolas Pierron
7cdb7d38ef Replace the activation script by one which is completely generated.
svn path=/nixos/branches/fix-style/; revision=13683
2009-01-02 16:07:24 +00:00
Nicolas Pierron
1b32260084 Convert "upstart-jobs/xserver.nix" to a configuration file.
svn path=/nixos/branches/fix-style/; revision=13682
2009-01-02 16:07:21 +00:00