Commit graph

1117 commits

Author SHA1 Message Date
Eelco Dolstra
c155a3f46e * When doing chroot builds, the `build-chroot-dirs' option should
include the closure of /bin/sh.  Otherwise all builders that call
  /bin/sh will fail when using the new chroot implementation, which
  only bind-mounts the inputs of a build rather than the whole Nix
  store.

svn path=/nixos/trunk/; revision=13640
2008-12-15 23:54:10 +00:00
Ludovic Courtès
8373c890a8 atd: Make `at' and friends actually usable by regular users.
This patch makes the `at' commands setuid `atd' (instead of `root')
and fixes the ownership of `/etc/at/at.deny'.

svn path=/nixos/trunk/; revision=13515
2008-11-29 17:36:00 +00:00
Michael Raskin
7a6df0a5a8 Create a low-priority section in system.nix; host goes there
svn path=/nixos/trunk/; revision=13513
2008-11-29 07:10:31 +00:00
Ludovic Courtès
730244f13d lshd: Use `lsh-pam-checkpw' as the password helper program.
This finally allows users to log in using password authentication.

svn path=/nixos/trunk/; revision=13490
2008-11-28 15:44:15 +00:00
Ludovic Courtès
477ea7015c boot-stage-1: Don't run `fsck' when on battery power.
svn path=/nixos/trunk/; revision=13484
2008-11-28 12:03:56 +00:00
Michael Raskin
7ebc1821f9 Fixing build for new kernels when Intel WiFi firmware is used
svn path=/nixos/trunk/; revision=13470
2008-11-27 20:35:26 +00:00
Ludovic Courtès
3919a28971 Add host' to systemPathList'.
svn path=/nixos/trunk/; revision=13462
2008-11-27 15:30:25 +00:00
Marc Weber
d02e581192 fix: FCRON should no longer be build by default
svn path=/nixos/trunk/; revision=13436
2008-11-26 14:38:35 +00:00
Ludovic Courtès
be02b8a87a Use iwlwifi4965ucode' from kernelPackages'.
svn path=/nixos/trunk/; revision=13430
2008-11-26 13:16:59 +00:00
Michael Raskin
23551d0a4d some modules..
svn path=/nixos/trunk/; revision=13419
2008-11-25 18:00:25 +00:00
Eelco Dolstra
e39be7a088 * Commented out the fcron job - for some reason it starts to build fcron
even though it should be disabled by default, and the build fails.
  Strange...

svn path=/nixos/trunk/; revision=13394
2008-11-25 00:05:08 +00:00
Marc Weber
9fefbf1379 add ifEnable to fcron job
svn path=/nixos/trunk/; revision=13383
2008-11-24 09:07:28 +00:00
Marc Weber
eea7e6c213 adding fcron daemon.
I have only tested it with upstart 0.5, maybe you have to fix small things in the job description

svn path=/nixos/trunk/; revision=13369
2008-11-22 17:05:20 +00:00
Marc Weber
80377e512e added sshd GatwayPorts option
svn path=/nixos/trunk/; revision=13363
2008-11-20 23:47:05 +00:00
Ludovic Courtès
d7c321c64a bashrc: Initialize `GST_PLUGIN_PATH' (GStreamer's plug-in search path).
svn path=/nixos/trunk/; revision=13254
2008-11-11 17:08:04 +00:00
Nicolas Pierron
2ed34fae67 Extract "locate" job from the "cron" job.
svn path=/nixos/trunk/; revision=13236
2008-11-09 16:44:53 +00:00
Nicolas Pierron
866987a60e cron.nix: Use the new option scheme.
svn path=/nixos/trunk/; revision=13235
2008-11-09 16:44:43 +00:00
Nicolas Pierron
2e6c2f9aaf Add config.etc option to add extra /etc/* files.
svn path=/nixos/trunk/; revision=13234
2008-11-09 16:44:37 +00:00
Nicolas Pierron
92f790036c Replace obsolete name.
svn path=/nixos/trunk/; revision=13233
2008-11-09 16:44:31 +00:00
Nicolas Pierron
ed1df64e2a fix typo in the upstart jobs example.
svn path=/nixos/trunk/; revision=13232
2008-11-09 16:44:22 +00:00
Nicolas Pierron
b73a579d18 Fix previous commit.
svn path=/nixos/trunk/; revision=13229
2008-11-08 21:45:58 +00:00
Nicolas Pierron
4a55f02005 "dhclient.nix" is now a self-contained job.
svn path=/nixos/trunk/; revision=13228
2008-11-08 21:32:48 +00:00
Eelco Dolstra
4a936d51ae * Hack for testing.
svn path=/nixos/trunk/; revision=13221
2008-11-07 13:39:02 +00:00
Eelco Dolstra
1ef6d0c61b * growisofs needs to be setuid for high priority scheduling.
svn path=/nixos/trunk/; revision=13220
2008-11-07 13:38:46 +00:00
Eelco Dolstra
37b57e84cf * Disable the warning about missing wrapped setuid programs for now.
svn path=/nixos/trunk/; revision=13219
2008-11-07 13:38:05 +00:00
Eelco Dolstra
1573bdddfb * CUPS: enabled support for printing via SMB.
svn path=/nixos/trunk/; revision=13218
2008-11-07 13:37:28 +00:00
Eelco Dolstra
d1cf5f164e * CUPS needs a PAM configuration file to allow users to authenticate
via the web interface (e.g. when adding printers).

svn path=/nixos/trunk/; revision=13214
2008-11-07 11:51:17 +00:00
Michael Raskin
c76632804c meta.function -> passthru.function
svn path=/nixos/trunk/; revision=13191
2008-11-04 21:24:58 +00:00
Eelco Dolstra
f549ee6009 * Always add "iceauth" to the PATH (not just when sessionType ==
"kde") so that KDE applications work even when not running KDE.

svn path=/nixos/trunk/; revision=13154
2008-10-29 16:15:58 +00:00
Eelco Dolstra
4bd1537860 * Create /nix/var/nix/chroots in the activation script
and re-create it at boot time.

svn path=/nixos/trunk/; revision=13152
2008-10-29 15:43:37 +00:00
Eelco Dolstra
97f5a8eda7 * Mount /dev/pts in the chroot.
svn path=/nixos/trunk/; revision=13151
2008-10-29 15:42:44 +00:00
Eelco Dolstra
1ad5997776 * Set $PERL5LIB.
svn path=/nixos/trunk/; revision=13148
2008-10-29 13:41:32 +00:00
Eelco Dolstra
ea67a42d26 * Continue booting when loading a kernel module fails. For instance,
on my system when booting Linux 2.6.27, ide-generic fails with
  "Cannot allocate memory" (maybe because ata_piix already claimed the
  IDE devices?).

svn path=/nixos/trunk/; revision=13147
2008-10-29 13:38:43 +00:00
Eelco Dolstra
3a9700b226 * Include the kernel version in the description for
each Grub menu entry.  (Ideally, we would show
  what changed between each entry, e.g. "KDE upgraded to 4.1",
  but that would be hard to do generically.)

svn path=/nixos/trunk/; revision=13146
2008-10-29 13:24:00 +00:00
Eelco Dolstra
d146d9945b * Disable deleting /tmp at boot time. This should be controlled
by an option (which should default to off, IMHO).  I was rather
  surprised when I rebooted my system and it started deleting all
  of /tmp (which, for instance, contained some test DB/repos for 
  the Subversion server)...

svn path=/nixos/trunk/; revision=13145
2008-10-29 13:10:49 +00:00
Marc Weber
32b263e429 added system cron mailto option
svn path=/nixos/trunk/; revision=13114
2008-10-25 22:03:12 +00:00
Michael Raskin
1d55390e1c An option for XRandr support. Use it for dualhead ATi (and probably Intel) cards.
svn path=/nixos/trunk/; revision=13109
2008-10-24 10:30:38 +00:00
Marc Weber
a99b82b987 Misspelling the video driver name results in a thrown message now
small refactorings, list of known drivers is an attr set, optional is imported from lib etc

svn path=/nixos/trunk/; revision=13048
2008-10-10 16:45:56 +00:00
Ludovic Courtès
4891014cca boot-stage-2-init.sh: Delete files under `/tmp'.
svn path=/nixos/trunk/; revision=13034
2008-10-09 20:05:52 +00:00
Ludovic Courtès
f7770a6b63 In bashrc', don't add non-existent directories to ACLOCAL_PATH'.
svn path=/nixos/trunk/; revision=13033
2008-10-09 19:58:11 +00:00
Marc Weber
d438b972b1 nixos-rebuild: take NIXPKGS location from env, too
svn path=/nixos/trunk/; revision=12981
2008-10-06 23:23:28 +00:00
Eelco Dolstra
5ea24925b5 * Use Subversion 1.5.
svn path=/nixos/trunk/; revision=12980
2008-10-06 23:02:20 +00:00
Eelco Dolstra
ec1d1ef851 * Urgh, there's got to be a more generic way of dealing
with the Python version...

svn path=/nixos/trunk/; revision=12972
2008-10-06 13:40:14 +00:00
Michael Raskin
e89cdc0de7 Found it useful to have a place to export assorted things from system configuration..
svn path=/nixos/trunk/; revision=12932
2008-10-01 15:56:01 +00:00
Marc Weber
77d1d30e97 doh, removed debug statement and superfluous wrong character
svn path=/nixos/trunk/; revision=12862
2008-09-14 13:29:09 +00:00
Marc Weber
ca031ce720 httpd.extraModules: now accpets string items loading modules beeing distributed by apache
removed pkgs : arg

svn path=/nixos/trunk/; revision=12861
2008-09-14 01:30:45 +00:00
Eelco Dolstra
d5da3185fe svn path=/nixos/trunk/; revision=12853 2008-09-12 16:31:39 +00:00
Michael Raskin
f03fed54e0 Now automated test runs - installs and boots NixOS - on my computer. Some minor issue with socat transferring report from virtual machine to host, though.
svn path=/nixos/trunk/; revision=12830
2008-09-08 22:36:11 +00:00
Michael Raskin
88be528d9d Updating rescue-cd-configurable to match rescue-cd.nix updates
svn path=/nixos/trunk/; revision=12829
2008-09-08 21:08:20 +00:00
Michael Raskin
75dc712c59 Added virtio modules to module list for rescue CD variations.
svn path=/nixos/trunk/; revision=12828
2008-09-08 21:07:49 +00:00