Commit graph

1590 commits

Author SHA1 Message Date
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
738fc4e48c adding support for openvpn daemon client and/or server
svn path=/nixos/branches/modular-nixos/; revision=15421
2009-05-01 17:57:07 +00:00
Marc Weber
4f2725c54a adding autofs support to modular nixos.
autofs/automount is used to mount cdroms
floppies or network drivers on the fly..

svn path=/nixos/branches/modular-nixos/; revision=15420
2009-05-01 05:43:41 +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
Marc Weber
19ef6c7a1c put wmii in a loop cause it crashes once or twice a month
This also let's you change orientation. See comments

svn path=/nixos/branches/modular-nixos/; revision=15412
2009-04-30 11:37:23 +00:00
Marc Weber
3636fa1a04 fixing assertions using new assertion implementation
svn path=/nixos/branches/modular-nixos/; revision=15409
2009-04-30 02:29:58 +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
Marc Weber
d804730382 adding assertion support to modular-nixos
problem: the nix language assert function can't be used because
of the fix-style used in modular-nixos. A minimal stripped down version
illustrating the problem looks like this:

fix (x : assert x.cfg.foo; { upstartJob = ...; cfg = ...; } )

Now nix has to evaluate x.cfg.foo in order to check the assertion.
However to do so it has to access x.cfg.foo beeing defined in the body
The body can only be evaluated after the assertion passes.
So in the end you get an infinite recursion error.

pierron mentioned that adding another mkIf like function could
work. Maybe this implementation is even simpler. It adds
another option collecting assertions only.
The evaluation is forced by a function adding an empty list to
extraPackages. extraPackages is evaluated by nixos in all cases.
If there are assertions evaluating to false all assertion messages are
presented to the user using throw.

svn path=/nixos/branches/modular-nixos/; revision=15387
2009-04-28 23:05:03 +00:00
Marc Weber
84b5d26ffc doh. my typo while merging
svn path=/nixos/branches/modular-nixos/; revision=15376
2009-04-28 14:01:11 +00:00
Marc Weber
0ba7449c11 * Synced with trunk @ 15348
svn path=/nixos/branches/modular-nixos/; revision=15374
2009-04-28 13:53:04 +00:00
Marc Weber
fa9ceac862 * Synced with trunk @ 15346
svn path=/nixos/branches/modular-nixos/; revision=15373
2009-04-28 13:51:58 +00:00
Marc Weber
fb1e6d5c80 * Synced with trunk @ 15345
svn path=/nixos/branches/modular-nixos/; revision=15372
2009-04-28 13:49:05 +00:00
Marc Weber
addf00b1cf * Synced with trunk @ 15344
svn path=/nixos/branches/modular-nixos/; revision=15371
2009-04-28 13:44:43 +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
Marc Weber
8e5eeccb75 * Synced with trunk @ 15340
svn path=/nixos/branches/modular-nixos/; revision=15367
2009-04-28 13:42:43 +00:00
Marc Weber
cc7f5eba97 * Synced with trunk @ 15326
svn path=/nixos/branches/modular-nixos/; revision=15366
2009-04-28 13:40:55 +00:00
Marc Weber
e28250470f * Synced with trunk @ 15312
svn path=/nixos/branches/modular-nixos/; revision=15365
2009-04-28 13:38:22 +00:00
Marc Weber
818baa7dd3 * Synced with trunk @ 15274
svn path=/nixos/branches/modular-nixos/; revision=15364
2009-04-28 13:34:47 +00:00
Marc Weber
ab9cde5a83 * Synced with trunk @ 15211
svn path=/nixos/branches/modular-nixos/; revision=15363
2009-04-28 13:34:22 +00:00
Marc Weber
bb2de6da2e * Synced with trunk @ 15208
svn path=/nixos/branches/modular-nixos/; revision=15362
2009-04-28 13:33:52 +00:00
Marc Weber
a9360de947 * Synced with trunk @ 15204
svn path=/nixos/branches/modular-nixos/; revision=15361
2009-04-28 13:32:37 +00:00
Marc Weber
e96fada917 * Synced with trunk @ 15192
svn path=/nixos/branches/modular-nixos/; revision=15360
2009-04-28 13:30:31 +00:00
Marc Weber
c1bae06376 * Synced with trunk @ 15145
svn path=/nixos/branches/modular-nixos/; revision=15359
2009-04-28 13:29:56 +00:00
Marc Weber
160c7588b3 * Synced with trunk @ 15086
svn path=/nixos/branches/modular-nixos/; revision=15358
2009-04-28 13:29:28 +00:00
Marc Weber
3b934b9d03 * Synced with trunk @ 15074
svn path=/nixos/branches/modular-nixos/; revision=15357
2009-04-28 13:28:38 +00:00
Marc Weber
bd6eb4ae29 * Synced with trunk @ 15062
svn path=/nixos/branches/modular-nixos/; revision=15356
2009-04-28 13:27:37 +00:00
Marc Weber
55c787a308 * Synced with trunk @ 15061
svn path=/nixos/branches/modular-nixos/; revision=15355
2009-04-28 13:26:31 +00:00
Marc Weber
c4ad0f5454 * Synced with trunk @ 15058
svn path=/nixos/branches/modular-nixos/; revision=15354
2009-04-28 13:18:38 +00:00
Marc Weber
56be444092 * Synced with trunk @ 15032
svn path=/nixos/branches/modular-nixos/; revision=15353
2009-04-28 13:17:04 +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