Commit Graph

676 Commits

Author SHA1 Message Date
Eelco Dolstra
4ef15fc095 * Statically check whether the generated httpd.conf is correct.
* Option `noUserDir' -> `enableUserDir', negatives are bad :-)

svn path=/nixos/trunk/; revision=9927
2007-12-12 15:30:17 +00:00
Eelco Dolstra
6f5da72337 * Start of a nicer Apache configuration than the old stuff in the
services tree.  This one does the generation of httpd.conf in
  the Nix expression language instead of in a builder.

svn path=/nixos/trunk/; revision=9926
2007-12-12 13:58:15 +00:00
Michael Raskin
3ba09e4004 Changed Postgresql upstart job not to stop on network down
svn path=/nixos/trunk/; revision=9867
2007-12-06 03:50:15 +00:00
Eelco Dolstra
becb4b69c1 Allow the hostname to be empty (to obtain it using dhcp).
svn path=/nixos/trunk/; revision=9857
2007-12-04 15:02:48 +00:00
Eelco Dolstra
d987b16112 * More declarative specification of the DHCPD config.
svn path=/nixos/trunk/; revision=9856
2007-12-04 14:53:37 +00:00
Eelco Dolstra
d2377fae72 * Make sure that /nix/var/nix/channel-cache exists.
svn path=/nixos/trunk/; revision=9854
2007-12-04 12:31:00 +00:00
Michael Raskin
aeced64d0e Added PostgreSQL job.
svn path=/nixos/trunk/; revision=9830
2007-12-03 04:48:31 +00:00
Yury G. Kudryashov
5cd638aad8 new option: paths to link to /var/run/current-system/sw
svn path=/nixos/trunk/; revision=9828
2007-12-01 20:44:27 +00:00
Eelco Dolstra
9dd7891820 * Options for configuring the (mail) domain.
svn path=/nixos/trunk/; revision=9785
2007-11-23 17:12:37 +00:00
Eelco Dolstra
e7e685e4ce * Allow Upstart jobs to declare extra configuration for Apache.
Did this for Nagios.  Soon we can rename upstart-jobs to 
  services/plugins/whatever (i.e. an Upstart job will just be 
  one kind of configuration item that a plugin can declare).

svn path=/nixos/trunk/; revision=9778
2007-11-23 10:56:12 +00:00
Eelco Dolstra
1089c1f7fa * Fix the manual.
svn path=/nixos/trunk/; revision=9769
2007-11-21 14:39:52 +00:00
Eelco Dolstra
4b1ed0ded2 * Don't complain about groups with no gid.
svn path=/nixos/trunk/; revision=9757
2007-11-19 16:56:40 +00:00
Eelco Dolstra
524f1fa376 svn path=/nixos/trunk/; revision=9756 2007-11-19 15:50:26 +00:00
Eelco Dolstra
4de273e376 * Set the To: field.
* Doh! copy the actual Nagios config files to the store, 
  not symlinks to the sources outside of the store.

svn path=/nixos/trunk/; revision=9755
2007-11-19 15:50:02 +00:00
Eelco Dolstra
d53c726cbb * Make the Nagios configuration visible in /etc/nagios.cfg.
svn path=/nixos/trunk/; revision=9753
2007-11-19 15:31:28 +00:00
Eelco Dolstra
b880647870 * Options users.extraUsers and users.extraGroups to specify additional
users and groups that the system should create automatically.

svn path=/nixos/trunk/; revision=9705
2007-11-16 13:26:34 +00:00
Marc Weber
bb08b8ff48 ; bug fix
svn path=/nixos/trunk/; revision=9701
2007-11-15 23:57:20 +00:00
Marc Weber
d7eb1006bb added driver nv as suggested by niksnut
svn path=/nixos/trunk/; revision=9700
2007-11-15 23:52:53 +00:00
Wouter den Breejen
94854926fb Made the docs to install compiz fusion a little bit more clear. All credits go to Michael raskin.
svn path=/nixos/trunk/; revision=9698
2007-11-15 18:31:31 +00:00
Eelco Dolstra
f6fd10cbd8 * Support for system-wide distributed / multi-platform builds.
Just set nix.distributedBuilds to true and nix.buildMachines 
  to a list of machines that can perform Nix builds via SSH,
  and local builds will be forwarded appropriately.  So now
  any user can say something like

    nix-build /etc/nixos/nixpkgs/ --arg system '"powerpc-linux"' -A libxml2

  and the build for powerpc-linux will be forwarded to a machine 
  of that type.

svn path=/nixos/trunk/; revision=9696
2007-11-15 17:16:16 +00:00
Wouter den Breejen
14c2bb437d svn path=/nixos/trunk/; revision=9665 2007-11-13 16:38:39 +00:00
Michael Raskin
de01f56b42 Corrected some SVN service glitches; added switchable Nix
svn path=/nixos/trunk/; revision=9662
2007-11-13 15:51:24 +00:00
Eelco Dolstra
8b85db0728 * Upstart job for Nagios (system/network monitoring daemon).
svn path=/nixos/trunk/; revision=9658
2007-11-12 16:43:35 +00:00
Eelco Dolstra
646c2e4dec * Put user "root" in the group "root".
svn path=/nixos/trunk/; revision=9654
2007-11-12 14:59:23 +00:00
Eelco Dolstra
a0f5a93229 * Create /var/tmp.
svn path=/nixos/trunk/; revision=9653
2007-11-12 14:45:26 +00:00
Michael Raskin
edf5ce8d75 Fixed docbook build for NixOS
svn path=/nixos/trunk/; revision=9628
2007-11-11 10:46:26 +00:00
Michael Raskin
2f49250b8d Now nearly builds docbook section on options; skips names however.
svn path=/nixos/trunk/; revision=9627
2007-11-11 09:30:01 +00:00
Michael Raskin
8a887b6a94 Added Pidgin-LaTeX configuration section after pidgin-latex update; fixed the build process
svn path=/nixos/trunk/; revision=9625
2007-11-11 09:10:56 +00:00
Michael Raskin
7d94e2ed4d Removed bad characters in descriptions, changed system.nix checker invokation
svn path=/nixos/trunk/; revision=9620
2007-11-10 13:35:15 +00:00
Eelco Dolstra
2fc94b76fe * Eliminate all calls to config.get.
svn path=/nixos/trunk/; revision=9619
2007-11-09 18:49:45 +00:00
Eelco Dolstra
62c1f0ddcc * Converted the option declarations in options.nix to nested attribute
sets that match the hierarchical structure of the options.  So
  instead of

    {
      name = ["time" "timeZone"];
      default = "CET";
      example = "America/New_York";
      description = "The time zone used when displaying times and dates.";
    }

  we have

    time = {
      timeZone = {
        default = "CET";
        example = "America/New_York";
        description = "The time zone used when displaying times and dates.";
      };
    };

  And instead of `config.get ["time" "timeZone"]' you can now just say
  `config.time.timeZone'.  Furthermore, this option representation
  will allow option structures with repetition (such as in
  networking.interfaces or services.httpd.subservices) to be defined.

svn path=/nixos/trunk/; revision=9618
2007-11-09 18:12:23 +00:00
Michael Raskin
c4ad7b56d1 Added a silent mention of evdev in xorg.conf, but removed actual dependency on it.
svn path=/nixos/trunk/; revision=9614
2007-11-09 13:55:07 +00:00
Eelco Dolstra
5bb4e343b4 * Configuration options networking.defaultMailServer to enable direct mail
delivery without a local mail server (via ssmtp).
* Add vimDiet to the CD, not the system path in general.

svn path=/nixos/trunk/; revision=9607
2007-11-08 18:15:12 +00:00
Marc Weber
89670079ab vimDiet and reiserfsprogs added to systemPathList
svn path=/nixos/trunk/; revision=9600
2007-11-07 22:00:05 +00:00
Eelco Dolstra
e6b8dd5b25 * Cleanup.
svn path=/nixos/trunk/; revision=9593
2007-11-06 00:00:29 +00:00
Michael Raskin
5459a5c007 Added user configuration chapter - currently about Compiz.
svn path=/nixos/trunk/; revision=9589
2007-11-05 21:17:16 +00:00
Eelco Dolstra
81c7e17e02 * An option nix.useChroot to enable chroot builds in NixOS.
svn path=/nixos/trunk/; revision=9583
2007-11-05 11:19:51 +00:00
Michael Raskin
8c9d312e21 Added xfs; fixed nixos-checkout
svn path=/nixos/trunk/; revision=9579
2007-11-05 08:54:30 +00:00
Michael Raskin
b494c20cb5 Small correction to xserver.nix for compiz; also nixos-checkout now creates services where it should be.
svn path=/nixos/trunk/; revision=9578
2007-11-05 08:33:12 +00:00
Eelco Dolstra
79c7f2cecc * Make fsck shut up about missing fstab. Contributed
by Nicolas Pierron.

svn path=/nixos/trunk/; revision=9571
2007-11-01 15:58:01 +00:00
Wouter den Breejen
f7fd4c9a6d Fixed ../ to ../../services reference
svn path=/nixos/trunk/; revision=9552
2007-10-29 14:24:24 +00:00
Michael Raskin
a357a601bf Enable composite extension for i810.
svn path=/nixos/trunk/; revision=9541
2007-10-27 17:47:54 +00:00
Wouter den Breejen
8881c10ca4 Dont let the 'normal' fsck check a ext3cow partitions anymore since it thinks it fixes inodes but it will actually cause ext3cow to loose data .....
svn path=/nixos/trunk/; revision=9537
2007-10-27 13:04:00 +00:00
Michael Raskin
0ff3fc1882 Added option tcpEnable for X server. Needed for xmove.
svn path=/nixos/trunk/; revision=9532
2007-10-26 05:52:35 +00:00
Michael Raskin
fc31c8c9b5 Allowed overriding 127.0.0.1
svn path=/nixos/trunk/; revision=9529
2007-10-26 05:02:50 +00:00
Michael Raskin
b4be8e3b92 Added a way to add arbitrary entries in /etc/hosts .
svn path=/nixos/trunk/; revision=9528
2007-10-26 04:49:44 +00:00
Michael Raskin
e4626e0f0d Added some options for manual text insertion into xorg.conf . Removed (commented out) MonitorLayout by default. It was the thing that prevents i915GM on laptops from working. Those who need it can add it back in extraDeviceOptions.
svn path=/nixos/trunk/; revision=9527
2007-10-26 04:28:01 +00:00
Eelco Dolstra
d2f337c872 * Set $ASPELL_EXTRA_DICT_DIRS so that Aspell dictionaries
installed with nix-env are found automatically.

svn path=/nixos/trunk/; revision=9514
2007-10-23 16:42:10 +00:00
Eelco Dolstra
662b487e77 * Doh doh doh!
svn path=/nixos/trunk/; revision=9497
2007-10-19 19:33:15 +00:00
Yury G. Kudryashov
607a32c86f Fixed typo in options.nix
svn path=/nixos/trunk/; revision=9494
2007-10-19 19:15:48 +00:00