Commit Graph

953 Commits

Author SHA1 Message Date
Eelco Dolstra
5235acb1d7 * extraSubservices: the subservice config no longer needs to be
in a `config' attribute.  So instead of

    extraSubservices = [
      { serviceName = "foo";
        config = {
          bla = ...;
        };
      }
    ];

  you can write

    extraSubservices = [
      { serviceName = "foo";
        bla = ...;
      }
    ];

svn path=/nixos/trunk/; revision=12024
2008-06-09 16:35:24 +00:00
Eelco Dolstra
f17f9e301f svn path=/nixos/trunk/; revision=12023 2008-06-09 16:02:38 +00:00
Eelco Dolstra
deaf99ca92 * Added a subservices for the Zabbix PHP frontend.
* Apache subservices: missing declarations are filled in with defaults.

svn path=/nixos/trunk/; revision=12022
2008-06-09 15:52:02 +00:00
Eelco Dolstra
0b068f504c * Less verbosity.
svn path=/nixos/trunk/; revision=12017
2008-06-09 11:14:43 +00:00
Eelco Dolstra
8cad20e1c9 * Doh!
svn path=/nixos/trunk/; revision=12016
2008-06-09 11:14:28 +00:00
Eelco Dolstra
6d380a8ce8 * Option to set the Zabbix server IP.
svn path=/nixos/trunk/; revision=12012
2008-06-08 22:21:56 +00:00
Michael Raskin
ae4ead1a33 Added install-test.sh - automatic verification of rescue-cd-configurable.nix (currently it passes)
svn path=/nixos/trunk/; revision=12006
2008-06-07 10:52:44 +00:00
Eelco Dolstra
b8aa6c6f31 svn path=/nixos/trunk/; revision=12001 2008-06-06 12:38:40 +00:00
Michael Raskin
120ee1d150 Fixed rescue-cd-configurable.nix
svn path=/nixos/trunk/; revision=11999
2008-06-06 10:04:27 +00:00
Eelco Dolstra
96a8dbfd58 * Upstart jobs for the Zabbix agent and server daemons.
svn path=/nixos/trunk/; revision=11998
2008-06-06 09:13:16 +00:00
Eelco Dolstra
ebb43a3f67 * Make the location of Nixpkgs a function argument (defaulting
to ../../nixpkgs).  This makes the "pkgs" symlink under the 
  nixos checkout unnecessary.

svn path=/nixos/trunk/; revision=11989
2008-06-05 15:33:17 +00:00
Eelco Dolstra
e7494da962 * Allow compression of ISO images.
svn path=/nixos/trunk/; revision=11987
2008-06-05 13:42:18 +00:00
Eelco Dolstra
df241fd6ed * Don't include /var/run/current-system/sw/lib in the LD_LIBRARY_PATH
by default since this can really make the functioning of
  applications unpredictable as they can pick up arbitrary
  library versions from that directory.  LD_LIBRARY_PATH should only
  contain very specific paths (like /var/run/opengl-driver/lib for
  overriding the system OpenGL implementation, or the NSS module
  path).  This is even more important given that the stdenv-updates
  branch uses RUNPATHs instead of RPATHs, so *all* libraries are
  overridable by LD_LIBRARY_PATH.

svn path=/nixos/trunk/; revision=11967
2008-06-04 09:11:47 +00:00
Eelco Dolstra
bd33b3e756 * Build through the Nix daemon if it's running.
svn path=/nixos/trunk/; revision=11966
2008-06-04 09:01:54 +00:00
Sander van der Burg
33aae3136a Make old http service working again
svn path=/nixos/trunk/; revision=11956
2008-06-03 13:30:37 +00:00
Michael Raskin
eff945115b Added gpm service
svn path=/nixos/trunk/; revision=11952
2008-06-03 07:06:35 +00:00
Michael Raskin
da13d7ed13 Fixed instantiation errors after kernel changes...
svn path=/nixos/trunk/; revision=11886
2008-05-23 06:40:16 +00:00
Michael Raskin
ecef3b1f61 Passing packages list to extraModulePackages
svn path=/nixos/trunk/; revision=11884
2008-05-22 19:30:00 +00:00
Eelco Dolstra
bb1ee3f190 * boot.kernel renamed to boot.kernelPackages (see the help for a
description) to allow all kernel-related packages to be overriden
  easily.  For instance, you can now say in configuration.nix

    boot = {
      kernelPackages = pkgs: pkgs.kernelPackages_2_6_25;
    };

  to use Linux 2.6.25.x.  Externel kernel module packages (like
  the NVIDIA drivers) appropriate for this kernel will then be used
  automatically.

svn path=/nixos/trunk/; revision=11880
2008-05-22 11:59:46 +00:00
Michael Raskin
27fced519e Forgot description is mandatory for all options. Added description to synaptics fine-tune settings.
svn path=/nixos/trunk/; revision=11857
2008-05-20 14:59:27 +00:00
Eelco Dolstra
3ed80192c0 * Every option needs a description, otherwise the manual can't be
built...

svn path=/nixos/trunk/; revision=11856
2008-05-20 14:53:55 +00:00
Michael Raskin
b5451023a2 Applied patch sent by justbeingglad long ago..
svn path=/nixos/trunk/; revision=11833
2008-05-16 07:32:00 +00:00
Michael Raskin
ad3dc29f6d Added scripts used for remote installation
svn path=/nixos/trunk/; revision=11817
2008-05-12 07:23:55 +00:00
Michael Raskin
1a6e1a43dc Added closed-install example of configurable Live DVD. Tested: virtual network of two QEmu-s, one is booted from that LiveDVD, another executes one scripted process and forces first to install NixOS.
svn path=/nixos/trunk/; revision=11816
2008-05-12 07:12:18 +00:00
Eelco Dolstra
cc7f3c7aaa * URL updates.
svn path=/nixos/trunk/; revision=11801
2008-05-09 15:08:43 +00:00
Eelco Dolstra
c612af3564 svn path=/nixos/trunk/; revision=11797 2008-05-09 11:28:03 +00:00
Eelco Dolstra
aea8ac5852 * A root on LVM example.
svn path=/nixos/trunk/; revision=11796
2008-05-09 11:14:44 +00:00
Eelco Dolstra
3e087c0f73 * Include "dm_mod" in the initrd by default for LVM users.
svn path=/nixos/trunk/; revision=11795
2008-05-09 10:46:10 +00:00
Eelco Dolstra
8583c52c2c * Enable lvm by default.
svn path=/nixos/trunk/; revision=11794
2008-05-09 10:08:21 +00:00
Eelco Dolstra
5feff6f5d4 * Symlink $mountPoint/etc/mtab to /proc/mounts.
svn path=/nixos/trunk/; revision=11793
2008-05-09 10:08:02 +00:00
Eelco Dolstra
728a278641 * Unmount only the filesystems that the installer actually mounted.
So if the user mounted /mnt/boot or something, don't unmount it.

svn path=/nixos/trunk/; revision=11792
2008-05-09 09:32:31 +00:00
Michael Raskin
98748a319a I have probably fixed the "separate /boot" problem. Tested in Qemu, it worked
svn path=/nixos/trunk/; revision=11789
2008-05-09 05:58:21 +00:00
Michael Raskin
f49efc1039 module_aggregation renamed..
svn path=/nixos/trunk/; revision=11787
2008-05-08 16:34:50 +00:00
Eelco Dolstra
1042e4affe svn path=/nixos/trunk/; revision=11786 2008-05-08 16:03:18 +00:00
Eelco Dolstra
6d2c1eb838 * module_aggregation -> aggregateModules (naming convention).
svn path=/nixos/trunk/; revision=11785
2008-05-08 15:36:56 +00:00
Eelco Dolstra
828305a5ac * Prevent warnings about protocol version 1 being disabled.
svn path=/nixos/trunk/; revision=11782
2008-05-08 14:29:00 +00:00
Eelco Dolstra
c44475b085 * Start klogd to send kernel log messages to syslogd.
svn path=/nixos/trunk/; revision=11781
2008-05-08 13:47:44 +00:00
Eelco Dolstra
6f64c4ee0d * syslogd: print messages in the local time zone.
* dhcpd: log to facility "local1".
* syslogd: send "local1" messages to /var/log/dhcpd, and "mail" 
  messages to /var/log/mail.

svn path=/nixos/trunk/; revision=11780
2008-05-08 12:27:01 +00:00
Eelco Dolstra
5d5f48af83 * Some robots blocks.
svn path=/nixos/trunk/; revision=11762
2008-05-06 08:04:28 +00:00
Eelco Dolstra
32e3f49182 * Updated the Nixpkgs URL.
svn path=/nixos/trunk/; revision=11737
2008-04-28 08:08:44 +00:00
Marc Weber
7a7582ec01 * added extraModules apache configuration option
Eelco, can your review this patch ?
I hope it fits your design - if not revert it
This way we can drop the mod_php option (See example)

svn path=/nixos/trunk/; revision=11734
2008-04-27 23:56:51 +00:00
Tobias Hammerschmidt
228792a70d updated svn repositories
svn path=/nixos/trunk/; revision=11721
2008-04-25 20:28:39 +00:00
Michael Raskin
7ee619f83d Typo fix & NameVirtualHost generation
svn path=/nixos/trunk/; revision=11710
2008-04-24 18:32:05 +00:00
Eelco Dolstra
f2598a9ca5 * In ssmtp, keep the From line if set explicitly in a mail.
svn path=/nixos/trunk/; revision=11706
2008-04-24 12:36:50 +00:00
Eelco Dolstra
5dbe45bfea * Modified the SSL configuration a bit. Instead of having a httpPort
and a httpsPort, there are now options "port" and "enableSSL".  So
  to get https you should typically set up a vhost like this:

    virtualHosts = [
      { hostName = "foo.example.org";
        enableSSL = true;
        sslServerCert = "...";
        sslServerKey = "...";
      }
    ];

* sslServerCert and sslServerKey can be set per vhost.  This is
  currently only useful when doing IP-based vhosting.

* enableUserDir is now a per-vhost setting, as it should be.

* Convenience option globalRedirect to redirect the entire host to
  some URL.

svn path=/nixos/trunk/; revision=11704
2008-04-24 11:56:38 +00:00
Eelco Dolstra
10bdceaaad * Allow disambiguation between the admin scripts of multiple
Subversion service instances.

svn path=/nixos/trunk/; revision=11701
2008-04-24 11:42:50 +00:00
Eelco Dolstra
fc236567c2 * Forgot to add (even though the twiki config is not general enough yet).
svn path=/nixos/trunk/; revision=11700
2008-04-24 11:40:11 +00:00
Nicolas Pierron
38874d8025 Add options to hide the cursor and define the default user.
svn path=/nixos/trunk/; revision=11664
2008-04-21 13:05:35 +00:00
Michael Raskin
8fd2404adf Lots of fixes to Apache HTTPD configuration. Net result: I can have SSL-only SVN repository on :12443 and SSL-enabled http server with userDirs.
svn path=/nixos/trunk/; revision=11660
2008-04-19 10:21:42 +00:00
Michael Raskin
02decddeb1 Added possibility to use names instead of full paths in httpd subservices. Yes, the same dirty hack again
svn path=/nixos/trunk/; revision=11615
2008-04-13 09:35:18 +00:00