Commit graph

1749 commits

Author SHA1 Message Date
Marc Weber
1e16e6dee4 * Synced with trunk @ 15369
also adding missing assertion fixed in 15609

svn path=/nixos/branches/modular-nixos/; revision=15610
2009-05-15 07:51:51 +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
Marc Weber
ecff4f580c * Synced with trunk @ 15368
svn path=/nixos/branches/modular-nixos/; revision=15608
2009-05-15 06:43:02 +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
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