3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

1104 commits

Author SHA1 Message Date
Nicolas Pierron 892d12bccf - Move some system configuration to options:
* system.nssModules
  * system.modulesTree
  * system.sbin.modprobe
  * system.sbin.mount
  * nix.envVars

- Remove Arguments that can be accessed either by "config" or "pkgs".

- Use the new scheme for upstart-jobs/default.nix.
This is now a configuration file which is imported by system/options.nix.

- Jobs can now include upstart-job/default.nix:
  * upstrat-jobs/cron.nix
  * upstart-jobs/dhclient.nix

=> No Nixos file refers to upstart-jobs/default.nix except if one of its options is require to define an extra job. (e.g.: cron, dhclient)

svn path=/nixos/branches/fix-style/; revision=13327
2008-11-18 18:00:09 +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
Eelco Dolstra 212d5ceff5 * Don't generate a manifest for the CD anymore, just use the
copy-from-other-stores substituter to copy paths directly from the
  Nix store on the CD.

svn path=/nixos/trunk/; revision=12826
2008-09-08 12:40:05 +00:00
Eelco Dolstra 5e88ff8269 * Fix relative paths.
svn path=/nixos/trunk/; revision=12823
2008-09-08 09:36:54 +00:00
Eelco Dolstra 21ee887b75 * Renamed `configuration' to something more descriptive.
svn path=/nixos/trunk/; revision=12822
2008-09-08 08:51:09 +00:00
Ludovic Courtès e15ffa9e3c Add `gnunetd' Upstart job.
svn path=/nixos/trunk/; revision=12802
2008-09-04 20:28:02 +00:00
Eelco Dolstra ab80a34ea4 * Quick workaround for tty-backgrounds not working on Linux 2.6.26:
/proc/sys/kernel/fbcondecor is now suddenly named /proc/sys/fbcondecor.
  Might be a bug.

svn path=/nixos/trunk/; revision=12784
2008-09-02 09:51:44 +00:00
Eelco Dolstra 5fb3cdc82b * Typo.
svn path=/nixos/trunk/; revision=12762
2008-08-29 09:26:30 +00:00
Michael Raskin 0d3cee6247 Typo fixed
svn path=/nixos/trunk/; revision=12757
2008-08-27 21:22:49 +00:00
Michael Raskin 385ffce14d Added possibility to customize key location for closed-install.nix
svn path=/nixos/trunk/; revision=12755
2008-08-27 21:03:26 +00:00
Nicolas Pierron 6e6f867a0a Add pcmcia job.
Test the new option style.

svn path=/nixos/trunk/; revision=12742
2008-08-27 14:01:17 +00:00
Michael Raskin 5cc80c8e51 Reduce dependency of generated image on host configuration.
svn path=/nixos/trunk/; revision=12738
2008-08-27 10:20:07 +00:00
Eelco Dolstra 1e33c98258 * Doh.
svn path=/nixos/trunk/; revision=12737
2008-08-27 10:06:25 +00:00
Eelco Dolstra 618b726542 * Don't put the Adobe bitmap fonts in the fontconfig search path
because then Helvetica looks horrible.

svn path=/nixos/trunk/; revision=12736
2008-08-27 10:00:49 +00:00
Eelco Dolstra bdb29c0bcc * Don't need/want /etc anymore in the chroot.
svn path=/nixos/trunk/; revision=12734
2008-08-27 09:49:26 +00:00