1264 Commits

Author SHA1 Message Date
Eelco Dolstra
a0e7572da7 * Only set kdePackages if the X server is enabled. Otherwise we get
KDE 3 in the ISO image.

svn path=/nixos/trunk/; revision=15823
2009-06-02 14:36:57 +00:00
Eelco Dolstra
5ed2a75f50 * Don't include the services tree. It shouldn't be needed except for
some legacy stuff.  (And it broke the ISO build for the last month
  or so.)

svn path=/nixos/trunk/; revision=15822
2009-06-02 14:31:21 +00:00
Ludovic Courtès
365df3e29a Add `gpsd' Upstart job.
svn path=/nixos/trunk/; revision=15811
2009-05-31 18:51:29 +00:00
Lluís Batlle i Rossell
48e7f85acb Allowing the system bashrc not to be parsed, if an env variable exists.
I think bash used not to include the system bashrc on "--rcfile myrc", but
as now it doesn't allow it anymore, let's go on the env variable.


svn path=/nixos/trunk/; revision=15779
2009-05-28 22:02:47 +00:00
Michael Raskin
debbb8a199 Made example of configurable DVD working with aby common base dir for NixOS/NixPkgs/Nix/configurations checkout
svn path=/nixos/trunk/; revision=15705
2009-05-24 20:30:02 +00:00
Michael Raskin
575631b72a I officially abandon old RescueCD rewrite. I made official version tunable by a small patch..
svn path=/nixos/trunk/; revision=15704
2009-05-24 20:28:09 +00:00
Marc Weber
dafb4b8c5d removed all __primops from nixos
svn path=/nixos/trunk/; revision=15696
2009-05-24 10:58:28 +00:00
Marc Weber
6b2f1a0ce9 lib.getAttr -> lib.attrByPath
svn path=/nixos/trunk/; revision=15695
2009-05-24 10:58:24 +00:00
Eelco Dolstra
0792719b90 * Urgh, forgot to commit.
svn path=/nixos/trunk/; revision=15669
2009-05-20 10:16:13 +00:00
Marc Weber
2dbc8d7549 FullDepEntry -> fullDepEntry
svn path=/nixos/trunk/; revision=15661
2009-05-19 23:25:13 +00:00
Nicolas Pierron
393cc8e8b9 Substitute the "require" of imported modules by module paths.
$ sed -i '/require =/ { :b; s,(import \([^)]*\)),\1,; /];/ { b e }; n; b b; :e }' *.nix


svn path=/nixos/trunk/; revision=15660
2009-05-19 23:14:45 +00:00
Michael Raskin
88e136954a Export all needed PATH elements
svn path=/nixos/trunk/; revision=15656
2009-05-19 17:08:32 +00:00
Eelco Dolstra
168268ba28 svn path=/nixos/trunk/; revision=15633 2009-05-18 11:27:20 +00:00
Marc Weber
fa32ac7fb6 follow -r15428 and move the comment as well
svn path=/nixos/trunk/; revision=15620
2009-05-15 16:07:27 +00:00
Marc Weber
3f79e158ba add missing assertion catching enabled xserver but disabled hal service
svn path=/nixos/trunk/; revision=15609
2009-05-15 07:39:36 +00:00
Michael Raskin
60060261a0 Catch duplicate entries
svn path=/nixos/trunk/; revision=15580
2009-05-13 06:10:21 +00:00
Ludovic Courtès
52889b2323 Run `fsck' when on AC power.
In practice, it should only run once in a while, and should help
find inconsistencies or corruptions sooner.

See https://mail.cs.uu.nl/pipermail/nix-dev/2009-February/001827.html
for a discussion.


svn path=/nixos/trunk/; revision=15577
2009-05-12 17:46:51 +00:00
Ludovic Courtès
018cb283f2 Fix `grub-menu-builder.sh'.
Previously, since `nullglob' is active, `$(ls /boot/kernels/*)'
would translate into `$(ls)' when `/boot/kernels' is empty, which
would then lead to the removal of all the files under $PWD.

Additionally, if `/boot/kernels' was not empty, `$fn' would contain
only the basename of the files, whereas `$filesCopied' is indexed
by full paths.


svn path=/nixos/trunk/; revision=15548
2009-05-11 11:54:18 +00:00
Sander van der Burg
7aa1c2439c Some kdm fixes
svn path=/nixos/trunk/; revision=15519
2009-05-09 21:00:02 +00:00
Michael Raskin
5b368b22bf An option for times when I only want to init Nix in chroot and build system semi-manually.
svn path=/nixos/trunk/; revision=15509
2009-05-09 07:34:20 +00:00
Michael Raskin
5cbcb9762d More correct handling of services tarball
svn path=/nixos/trunk/; revision=15508
2009-05-09 07:31:56 +00:00
Eelco Dolstra
05a7e1368a * grub-menu-builder.sh: with copyKernels = true, don't delete all of
/boot/kernels and then copy all the kernels/initrds.  Instead, copy
  only the kernels/initrds that don't exist yet in /boot/kernels, then
  delete obsolete files in /boot/kernels.  Also, use slightly nicer
  file names in /boot/kernels.

svn path=/nixos/trunk/; revision=15505
2009-05-08 11:33:22 +00:00
Michael Raskin
5af2b1b580 Allow by-label mounting of root on removable device in the drive which does not report media change.
svn path=/nixos/trunk/; revision=15480
2009-05-07 04:24:45 +00:00
Eelco Dolstra
eb32ab1ff2 * Support printing via HTTPS.
svn path=/nixos/trunk/; revision=15469
2009-05-06 13:17:14 +00:00
Eelco Dolstra
d2b0268646 * Fixed URL.
svn path=/nixos/trunk/; revision=15468
2009-05-06 12:47:08 +00:00
Eelco Dolstra
f7f64961ad * Make "kde" the default since "gnome" is broken.
svn path=/nixos/trunk/; revision=15464
2009-05-06 09:09:53 +00:00
Michael Raskin
e4a1748226 Port main functionality of rescue-cd-configurable into rescue-cd.nix as a set of small fixes. Rogue, manual are now ordinary jobs. It is possible to include build dependencies. It is possible to choose one of a few configurations in the boot menu. Of course, configuration overrides may be passed
svn path=/nixos/trunk/; revision=15430
2009-05-03 11:37:20 +00:00
Michael Raskin
26e952582f Export some configuration data about on-boot layout
svn path=/nixos/trunk/; revision=15428
2009-05-03 11:08:17 +00:00
Michael Raskin
d90d3420ef Replace theme sources with gentoo distfiles
svn path=/nixos/trunk/; revision=15427
2009-05-03 11:07:28 +00:00
Michael Raskin
9771cbbe21 Set devpts mode: failing to do so yields trouble with 2.6.30-rc
svn path=/nixos/trunk/; revision=15424
2009-05-02 16:25:23 +00:00
Marc Weber
2470db9d74 also add uhci_hcd, thanks to ugo @ irc
svn path=/nixos/trunk/; revision=15413
2009-04-30 12:21:41 +00:00
Eelco Dolstra
ef64840085 * Don't hardcode values specific to the program transformation / Stratego wikis.
svn path=/nixos/trunk/; revision=15408
2009-04-29 17:03:58 +00:00
Eelco Dolstra
a29bfb0d7b * Use the default Subversion (1.6).
svn path=/nixos/trunk/; revision=15407
2009-04-29 17:03:29 +00:00
Rob Vermaas
9325fa9ccc iwlwifi5000ucode from pkgs
svn path=/nixos/trunk/; revision=15397
2009-04-29 15:10:14 +00:00
Eelco Dolstra
d29b8323e1 * Support loading the Intel 5000 firmware.
svn path=/nixos/trunk/; revision=15396
2009-04-29 14:51:17 +00:00
Rob Vermaas
e3ad6a6f59 Added enableTCPIP option for postgresql (defaults to false) to allow tcpip connections
svn path=/nixos/trunk/; revision=15391
2009-04-29 12:25:25 +00:00
Eelco Dolstra
0f99f50e34 * Use lib/perl5/site_perl.
svn path=/nixos/trunk/; revision=15370
2009-04-28 13:43:48 +00:00
Eelco Dolstra
114109b709 * The X server now needs HAL running.
svn path=/nixos/trunk/; revision=15369
2009-04-28 13:43:22 +00:00
Eelco Dolstra
2cd1e7239f * Atomically update grub/menu.lst (although we really need an fsync here).
svn path=/nixos/trunk/; revision=15368
2009-04-28 13:43:03 +00:00
Lluís Batlle i Rossell
38d7e7b780 Sorry, I disabled X hal config in my last commit, thinking it was still not usable.
I see the problem rests only in configuring the keyboard layout in hal, for X.
Nevertheless, using the client "setxkbmap" works, which can help until we
can configure the keyboard layout in configuration.nix.


svn path=/nixos/trunk/; revision=15348
2009-04-28 08:47:13 +00:00
Lluís Batlle i Rossell
bf04b4c7dc Making xserver cope with new evdev input device, and the proper dri mesa driver directory.
svn path=/nixos/trunk/; revision=15346
2009-04-28 07:58:20 +00:00
Eelco Dolstra
1723eaec3d * Use evdev instead of the deprecated keyboard/mouse drivers. Note:
evdev gets the keyboard layout / model from HAL (`lshal | grep
  xkb'), but we don't yet have a way to override the default (`us').

svn path=/nixos/trunk/; revision=15345
2009-04-27 23:19:31 +00:00
Eelco Dolstra
dca7981111 * Make sure that the FDI cache is flushed on startup. Mine had a
timestamp somewhere in 2008, so apparently it's not getting
  updated.

svn path=/nixos/trunk/; revision=15344
2009-04-27 23:09:25 +00:00
Eelco Dolstra
7da8137f18 * Re-enable Glibc locales.
svn path=/nixos/trunk/; revision=15340
2009-04-27 21:52:10 +00:00
Eelco Dolstra
b891792ddd * Hack to make desktop locking in KDE 3 work.
svn path=/nixos/trunk/; revision=15326
2009-04-26 21:06:00 +00:00
Eelco Dolstra
d9f4475dd5 * Be able to cope with future changes to Upstart.
svn path=/nixos/trunk/; revision=15312
2009-04-25 22:36:56 +00:00
Eelco Dolstra
5ac2532cc7 * Add GNU parted to the CD.
svn path=/nixos/trunk/; revision=15274
2009-04-23 12:56:17 +00:00
Eelco Dolstra
3a7834dcac * Use perlPackages.
svn path=/nixos/trunk/; revision=15211
2009-04-21 12:38:13 +00:00
Andres Löh
31ff856a52 Updated reference to xmonad.
svn path=/nixos/trunk/; revision=15208
2009-04-21 11:29:40 +00:00
Eelco Dolstra
9940de0088 * After upgrading to X.org server 1.5.3, we suddenly need to set
"AllowEmptyInput" to "off", otherwise we get no keyboard or mouse.
  The logfile then says:

    (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse'
      will be disabled.
    (WW) Disabling Keyboard[0]
    (WW) Disabling Mouse[0]

  which seems rather weird.

svn path=/nixos/trunk/; revision=15204
2009-04-21 08:03:05 +00:00