Commit graph

1200 commits

Author SHA1 Message Date
Marc Weber
b5f963bb8b use cat again to create users instead of << "..."
this way '`" doesn't have to be escaped (used by avahi)

svn path=/nixos/branches/fix-style/; revision=14373
2009-03-06 12:26:16 +00:00
Marc Weber
0d48a73987 sshd fix (users)
svn path=/nixos/branches/fix-style/; revision=14372
2009-03-06 12:26:13 +00:00
Marc Weber
7b0071781d Convert "lshd" GNU ssh daemon
svn path=/nixos/branches/fix-style/; revision=14371
2009-03-06 12:26:10 +00:00
Marc Weber
d285fea2da Convert "sshd" daemon
Should the client config in etc/default.nix be moved as wel?

svn path=/nixos/branches/fix-style/; revision=14370
2009-03-06 12:26:08 +00:00
Marc Weber
4768fd6488 Convert "dhcpd" daemon
svn path=/nixos/branches/fix-style/; revision=14369
2009-03-06 12:26:05 +00:00
Marc Weber
e52ada51a4 commment
svn path=/nixos/branches/fix-style/; revision=14368
2009-03-06 12:26:01 +00:00
Marc Weber
29cca0f34c Convert "syslogd"
svn path=/nixos/branches/fix-style/; revision=14367
2009-03-06 12:25:57 +00:00
Marc Weber
8a8d387b22 Convert "installer"
svn path=/nixos/branches/fix-style/; revision=14366
2009-03-06 12:25:53 +00:00
Marc Weber
819873d745 Convert "nix-daemon" and nix options
svn path=/nixos/branches/fix-style/; revision=14365
2009-03-06 12:25:51 +00:00
Marc Weber
028b515a6e Convert "gw6c" and its security options (untested)
svn path=/nixos/branches/fix-style/; revision=14364
2009-03-06 12:25:48 +00:00
Marc Weber
f889d6215e Convert "nixos security options"
svn path=/nixos/branches/fix-style/; revision=14363
2009-03-06 12:25:46 +00:00
Marc Weber
b5a7c767c5 Convert "ldap" (untested)
svn path=/nixos/branches/fix-style/; revision=14362
2009-03-06 12:25:44 +00:00
Marc Weber
bca405ae44 Convert "kbd" (i18n)
svn path=/nixos/branches/fix-style/; revision=14361
2009-03-06 12:25:38 +00:00
Marc Weber
a86ae923d7 Convert "nixos-environment"
in particular: (override) nix, extraPackages, checkConfigurationOptions

svn path=/nixos/branches/fix-style/; revision=14360
2009-03-06 12:25:35 +00:00
Marc Weber
e344a2d055 Convert "unix-odbc-drivers"
svn path=/nixos/branches/fix-style/; revision=14359
2009-03-06 12:25:33 +00:00
Marc Weber
1c43b4946b Convert "acpid"
svn path=/nixos/branches/fix-style/; revision=14358
2009-03-06 12:25:25 +00:00
Marc Weber
8c5f0522e7 removed new proposal jobs
the fix-style branch makes them obsolete
It was broken anyway. I'll readd synergy (client, server) jobs again
later

svn path=/nixos/branches/fix-style/; revision=14353
2009-03-05 17:11:40 +00:00
Nicolas Pierron
22f49c3cd2 * Add a small script to ensure that all configurations in doc/config-examples can be evaluated.
* Fix doc/config-examples/svn-server.nix to use the experimental apache configuration.

svn path=/nixos/branches/fix-style/; revision=14200
2009-02-22 23:34:03 +00:00
Nicolas Pierron
1c66b3e0c0 Fix activation script's merge function.
svn path=/nixos/branches/fix-style/; revision=14199
2009-02-22 23:33:58 +00:00
Nicolas Pierron
a3b91410cd Fix kde4 configuration.
svn path=/nixos/branches/fix-style/; revision=14198
2009-02-22 23:33:53 +00:00
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