Commit graph

336 commits

Author SHA1 Message Date
Nicolas Pierron 2e9dc1ea47 Rename option: services.xserver.packageFun -> .package
svn path=/nixos/trunk/; revision=12553
2008-08-08 18:57:11 +00:00
Nicolas Pierron 3fd58f8a03 Declare obsolete: hardware option; options with arguments.
svn path=/nixos/trunk/; revision=12552
2008-08-08 18:57:09 +00:00
Nicolas Pierron 51210b1904 Remove pkgs argument of:
- boot.kernelPackages
- boot.extraModulePackages
- services.xserver.packageFun (should be renamed)
- fonts.extraFonts
- environment.extraPackages
- environment.nix

These options still accept the previous style.

svn path=/nixos/trunk/; revision=12551
2008-08-08 18:57:07 +00:00
Nicolas Pierron 9fc41fc64f Prepare the removal of pkgs arguments.
If user options are using pkgs arguments, these would be replaced by the pkgs argument given to the whole option component expression instead of the pkgs argument given to the option.

svn path=/nixos/trunk/; revision=12550
2008-08-08 18:57:04 +00:00
Nicolas Pierron d63bfe3c31 Use the new configuration scheme for system's options.
svn path=/nixos/trunk/; revision=12549
2008-08-08 18:56:58 +00:00
Eelco Dolstra 63e316ecac * Refactoring: move all the initrd-generation related stuff to
boot-stage-1.nix in order to unclutter system.nix.

svn path=/nixos/trunk/; revision=12547
2008-08-08 17:34:30 +00:00
Eelco Dolstra abbe260a80 * Don't use modprobe but insmod in the initrd. This means we don't
need module-init-tools in the initrd, since insmod is in klibc.
* Give the installation CD a label.

svn path=/nixos/trunk/; revision=12545
2008-08-08 17:07:04 +00:00
Eelco Dolstra 4d6548e94c * Use the tools from klibc in the initrd instead of the static-tools.
This makes the initrd a few megabytes smaller.
* Use run-init from klibc to delete everything in the initrd ramfs
  prior to switching to the real root FS.
* Removed the stage2Init argument.

svn path=/nixos/trunk/; revision=12544
2008-08-08 15:49:57 +00:00
Michael Raskin 2bcb5a8efe Removed tabs in nix-expressions introduced by me in nixos/ tree.
svn path=/nixos/trunk/; revision=12532
2008-08-07 10:23:20 +00:00
Michael Raskin 014b33637c Added an option to easily allow everyone to use "at".
svn path=/nixos/trunk/; revision=12531
2008-08-07 10:09:17 +00:00
Nicolas Pierron 791d8bbc66 Add udev extra option (addUdevPkgs).
Add some merge functions.

svn path=/nixos/trunk/; revision=12523
2008-08-06 19:26:47 +00:00
Nicolas Pierron 53bdeb43e3 Rewrite the optionDeclarations to collect all options definitions.
svn path=/nixos/trunk/; revision=12521
2008-08-06 18:43:53 +00:00
Nicolas Pierron 92560a1dc0 Use the new scheme of configuration evaluation.
svn path=/nixos/trunk/; revision=12519
2008-08-06 17:39:05 +00:00
Eelco Dolstra f5e61dfa0c * Provide a mount command that knows how to mount ntfs-3g and cifs
file systems.  The main advantage is that this allows mounting of
  such file systems from the `filesystems' configuration option at
  boot time, e.g.

    fileSystems = [
      ...
      { mountPoint = "/windows";
        device = "/dev/disk/by-uuid/9EA4B22EA4B208B3";
        fsType = "ntfs-3g";
      }
    ];

  The list of file system helpers should of course be made
  configurable.

svn path=/nixos/trunk/; revision=12516
2008-08-06 15:48:12 +00:00
Sander van der Burg f652a0836a Added support for custom context.xml
svn path=/nixos/trunk/; revision=12513
2008-08-06 15:07:29 +00:00
Sander van der Burg afdfff7ed8 Added common lib support for tomcat
svn path=/nixos/trunk/; revision=12511
2008-08-06 13:41:08 +00:00
Michael Raskin cb8067cdb5 More configuratbility for vsFTPd upstart job.
svn path=/nixos/trunk/; revision=12472
2008-08-04 09:36:11 +00:00
Eelco Dolstra 274c67a363 * Don't create a setuid wrapper for programs that don't exist.
svn path=/nixos/trunk/; revision=12429
2008-07-25 13:34:00 +00:00
Eelco Dolstra 339839a134 * Some more programs to make setuid by default.
svn path=/nixos/trunk/; revision=12427
2008-07-25 13:33:10 +00:00
Eelco Dolstra 3e8be34fcc * Set $NIX_OTHER_STORES to /var/run/nix/remote-stores to make
automatic copying of build results from remote Nix stores work
  more-or-less automatically.  All you have to do is mount the remote
  FS on a subdirectory of /var/run/nix/remote-stores, e.g.

    $ sshfs remote_machine:/ /var/run/nix/remote-stores/foo

* Set $NIXPKGS_ALL.

svn path=/nixos/trunk/; revision=12411
2008-07-23 16:06:03 +00:00
Eelco Dolstra 5ec1fa2060 * Tabs considered harmful.
svn path=/nixos/trunk/; revision=12407
2008-07-23 14:13:27 +00:00
Eelco Dolstra cc902c638c svn path=/nixos/trunk/; revision=12406 2008-07-23 13:47:32 +00:00
Michael Raskin 0ac32cbb99 Added comments about seccureKeys for configuration files encryption
svn path=/nixos/trunk/; revision=12342
2008-07-11 08:01:09 +00:00
Sander van der Burg 6a2600c0a2 Added some more features to the tomcat service
svn path=/nixos/trunk/; revision=12284
2008-07-06 19:55:34 +00:00
Sander van der Burg 6df19e0cbb Added disnix
svn path=/nixos/trunk/; revision=12282
2008-07-06 18:34:03 +00:00
Sander van der Burg 045ae06092 Updated ejabberd service to make it work
svn path=/nixos/trunk/; revision=12270
2008-07-06 10:30:53 +00:00
Sander van der Burg 7813be5e54 Updated tomcat service with a more sophisticated model
svn path=/nixos/trunk/; revision=12268
2008-07-05 22:27:36 +00:00
Wouter den Breejen ab41596a7f Added option boot.extraGrubEntriesBeforeNixos=true/false to boot by default into nixos-default or into your extraGrubEntries
svn path=/nixos/trunk/; revision=12263
2008-07-05 00:16:39 +00:00
Eelco Dolstra 1c0aa0fb75 * Create some groups ("disk", "kmem", "tty", ...) that the default
udev rules expect.

svn path=/nixos/trunk/; revision=12244
2008-07-02 18:03:43 +00:00
Michael Raskin 7699aaad79 Added BIND
svn path=/nixos/trunk/; revision=12233
2008-07-01 12:15:56 +00:00
Eelco Dolstra eaf6b8eb18 * udevtrigger / udevsettle -> udevadm.
svn path=/nixos/trunk/; revision=12229
2008-07-01 08:28:56 +00:00
Michael Raskin 2025d58c2a At least dovecot and postfix work together and with Thunderbird
svn path=/nixos/trunk/; revision=12223
2008-06-30 21:12:02 +00:00
Michael Raskin eb79938997 Added Postfix; handles at least local delivery with maildir/
svn path=/nixos/trunk/; revision=12221
2008-06-30 15:13:02 +00:00
Eelco Dolstra 90acbf9509 * mysql: merged the mysql expression in the services tree.
* mysql: run under a separate user ("mysql"), not under "nobody".
* mysql: put the PID under /var/run.

svn path=/nixos/trunk/; revision=12189
2008-06-25 21:58:51 +00:00
Eelco Dolstra 314ab9774f * Put gorecord in PATH.
svn path=/nixos/trunk/; revision=12173
2008-06-20 18:17:51 +00:00
Eelco Dolstra 91e2083d32 * Load the wis-go7007 firmware automatically.
svn path=/nixos/trunk/; revision=12170
2008-06-20 16:10:20 +00:00
Eelco Dolstra 8c7859f7fb * Make kdesktop_lock work by providing a PAM configuration for KDE
and making kcheckpass setuid root.

svn path=/nixos/trunk/; revision=12166
2008-06-20 13:32:39 +00:00
Marc Weber 216e3b73f4 added support for unixODBC in configuration.nix writing /etc/odbcinst.ini
svn path=/nixos/trunk/; revision=12045
2008-06-11 23:06:53 +00:00
Eelco Dolstra a20f4aff60 * Updated the splash screen support for Linux >= 2.6.25.
svn path=/nixos/trunk/; revision=12030
2008-06-10 16:10:23 +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 6d380a8ce8 * Option to set the Zabbix server IP.
svn path=/nixos/trunk/; revision=12012
2008-06-08 22:21:56 +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
Michael Raskin eff945115b Added gpm service
svn path=/nixos/trunk/; revision=11952
2008-06-03 07:06:35 +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
Eelco Dolstra cc7f3c7aaa * URL updates.
svn path=/nixos/trunk/; revision=11801
2008-05-09 15:08:43 +00:00