Commit Graph

1440 Commits

Author SHA1 Message Date
Nicolas Pierron
357ca60ed7 * Set KDEDIRS, XDG_CONFIG_DIRS and XDG_DATA_DIRS in bashrc. This has
the advantage that KDE applications work when logging in via ssh,
  and that you don't need to logout to have KDE upgrades take effect.
  On the downside, since the various KDE packages and shared-mime-info
  all have their own MIME databases, if we put them in one symlink
  tree (systemPath), we need to rerun update-mime-database on the
  symlink tree.  Also, systemPath is getting very large.

svn path=/nixos/branches/fix-style/; revision=14191
2009-02-22 16:09:14 +00:00
Nicolas Pierron
fd08470a26 * Quick hack to make sure that acpid starts before hal.
svn path=/nixos/branches/fix-style/; revision=14190
2009-02-22 16:09:07 +00:00
Nicolas Pierron
51fee9bfbc * Include the SVN revision in the ISO name.
svn path=/nixos/branches/fix-style/; revision=14189
2009-02-22 16:09:03 +00:00
Nicolas Pierron
e829455521 added possibility make nixos-install not downlooad the manifest
do so by export NIXOS_PULL=0 (same as in nixos-rebuild)

svn path=/nixos/branches/fix-style/; revision=14188
2009-02-22 16:08:59 +00:00
Nicolas Pierron
b1164d8dae added sshfsFuse and screen to rescue-cd.nix
sshsfsFuse so that you can get packages from another machine easily
screen so that you can copy paste easily

svn path=/nixos/branches/fix-style/; revision=14187
2009-02-22 16:08:55 +00:00
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
Eelco Dolstra
311ff6c8e7 * Set KDEDIRS, XDG_CONFIG_DIRS and XDG_DATA_DIRS in bashrc. This has
the advantage that KDE applications work when logging in via ssh,
  and that you don't need to logout to have KDE upgrades take effect.
  On the downside, since the various KDE packages and shared-mime-info
  all have their own MIME databases, if we put them in one symlink
  tree (systemPath), we need to rerun update-mime-database on the
  symlink tree.  Also, systemPath is getting very large.

svn path=/nixos/trunk/; revision=14148
2009-02-20 16:31:42 +00:00
Eelco Dolstra
049c60e8c0 * Quick hack to make sure that acpid starts before hal.
svn path=/nixos/trunk/; revision=14139
2009-02-20 15:11:07 +00:00
Eelco Dolstra
e9b6d417a6 * Include the SVN revision in the ISO name.
svn path=/nixos/trunk/; revision=14138
2009-02-20 11:10:17 +00:00
Marc Weber
a2a092db87 added possibility make nixos-install not downlooad the manifest
do so by export NIXOS_PULL=0 (same as in nixos-rebuild)

svn path=/nixos/trunk/; revision=14129
2009-02-19 15:40:53 +00:00
Marc Weber
018c99ec1c added sshfsFuse and screen to rescue-cd.nix
sshsfsFuse so that you can get packages from another machine easily
screen so that you can copy paste easily

svn path=/nixos/trunk/; revision=14128
2009-02-19 15:12:39 +00:00
Marc Weber
53cd42dba6 commented out theme because url is broken
svn path=/nixos/trunk/; revision=14127
2009-02-19 15:12:30 +00:00
Eelco Dolstra
c87f67bd28 * Support for KDE 4.2. Set services.xserver.sessionType to "kde4" to
enable.  It looks great ;-)

svn path=/nixos/trunk/; revision=14089
2009-02-16 23:53:18 +00:00
Marc Weber
bcba001e37 added hint about how to get the swap partion kernel node numbers
svn path=/nixos/trunk/; revision=14081
2009-02-13 19:01:13 +00:00
Eelco Dolstra
4dacbc3c79 * Generate the acpid configuration properly: each config file
can only contain one event.

svn path=/nixos/trunk/; revision=14080
2009-02-13 18:55:38 +00:00
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