Commit graph

173 commits

Author SHA1 Message Date
Yury G. Kudryashov 607a32c86f Fixed typo in options.nix
svn path=/nixos/trunk/; revision=9494
2007-10-19 19:15:48 +00:00
Michael Raskin 44d09afffb Added dir option to link all fonts into share.
svn path=/nixos/trunk/; revision=9407
2007-10-05 07:25:13 +00:00
Eelco Dolstra 94b7b9377c * Option fonts.enableGhostscriptFonts to make the Ghostscript fonts
available to X11 apps.

svn path=/nixos/trunk/; revision=9401
2007-10-03 15:44:30 +00:00
Eelco Dolstra f402fd73f2 * Print a sensible error message if there are multiple declarations
for an option.
* Removed double declaration for services.xserver.layout.

svn path=/nixos/trunk/; revision=9398
2007-10-03 13:27:45 +00:00
Michael Raskin 33aa5d2d74 Separated keep-alive and additional keep-alive ping frequency.
svn path=/nixos/trunk/; revision=9384
2007-09-30 21:10:11 +00:00
Michael Raskin cf1140ee11 Added option for external firmware.
svn path=/nixos/trunk/; revision=9379
2007-09-28 07:58:40 +00:00
Michael Raskin 51626b0b66 Added checking of unkonwn options in configuration.nix and a system-wide font set changer.
svn path=/nixos/trunk/; revision=9370
2007-09-25 19:00:20 +00:00
Michael Raskin 07fd13f20e Added keyboard layout to options and internal AGPGART option
svn path=/nixos/trunk/; revision=9369
2007-09-24 19:32:21 +00:00
Michael Raskin 2cf1edf365 Added language switch support to xserver.nix
svn path=/nixos/trunk/; revision=9367
2007-09-24 09:19:34 +00:00
Michael Raskin a34885af7e Added synaptics support to xserver upstart-job.
svn path=/nixos/trunk/; revision=9366
2007-09-24 09:02:43 +00:00
Michael Raskin 8f126de2fb Changed X server upstart expression a bit, now works for my Intel 915GM notebook (with vesa at least).
svn path=/nixos/trunk/; revision=9364
2007-09-24 05:16:15 +00:00
Eelco Dolstra f2780fdc62 * Add a top-level default.nix for NixOS which has attributes useful
for building parts of the system.  E.g.

  $ nix-build /etc/nixos/nixos -A upstartJobs.xserver

  to build the Upstart job for the X server, or

  $ nix-build /etc/nixos/nixos -A kernel

  to build the NixOS kernel.

* /etc/profile.sh: if ~/.nix-defexpr doesn't exist yet, create it as a
  directory and add links to root's channels, /etc/nixos/nixos and
  /etc/nixos/install-source.nix (as "nixpkgs_sys").
  
* boot.useKernel -> boot.kernel.

svn path=/nixos/trunk/; revision=9334
2007-09-18 15:06:24 +00:00
Michael Raskin f7d2ccdb87 Added mod_php option for httpd.
svn path=/nixos/trunk/; revision=9155
2007-08-18 15:19:27 +00:00
Eelco Dolstra 2a4417d637 * make-etc / activate-configuration: allow /etc files to be installed
as regular files instead of symlinks to the store.
* Sudo configuration, enabled through security.sudo.enable (on by
  default).  The contents of the sudoers file is specified in
  security.sudo.configFile.  The default sudoers file allows members
  of the new "wheel" group to run any command.

svn path=/nixos/trunk/; revision=9138
2007-08-16 15:09:06 +00:00
Eelco Dolstra ad22e587ab * nixos-rebuild: do a nix-pull on the Nixpkgs channel manifest. I.e., you
don't need to be subscribed to the Nixpkgs channel to get binary downloads.
  This is possible because nix-pull is now pretty fast.

svn path=/nixos/trunk/; revision=9133
2007-08-15 12:01:20 +00:00
Eelco Dolstra cc3803f207 * An Upstart job for ifplugd, which monitors Ethernet interfaces
for cables being plugged in or unplugged.  When this occurs, the
  dhclient service is restarted to automatically obtain a new IP 
  address.  This is useful for roaming users (laptops).

svn path=/nixos/trunk/; revision=9124
2007-08-14 16:43:56 +00:00
Michael Raskin bb25a6ef96 Added short keep-alive period to gw6c, added ircd-hybrid service.
svn path=/nixos/trunk/; revision=9071
2007-08-08 20:42:25 +00:00
Wouter den Breejen 13f94dacc5 Added mirrors for bootsplash.de files
svn path=/nixos/trunk/; revision=9008
2007-07-20 12:33:46 +00:00
Michael Raskin 055a950331 Apache httpd customization - extraDirectories & noUserDir .
svn path=/nixos/trunk/; revision=8985
2007-07-15 11:16:01 +00:00
Michael Raskin bf1033d2cb Added Gateway6 upstart-job and options for it. Sudo configuration for PAM
is added (it is needed anyway), but still only NOPASSWD entries work.

svn path=/nixos/trunk/; revision=8966
2007-07-09 11:21:04 +00:00
Yury G. Kudryashov cd1023c50d * Added boot.initrd.lvm flag for use NixOS with LVM2 root partition.
* Added sis support for xserver.

svn path=/nixos/trunk/; revision=8924
2007-06-28 09:57:36 +00:00
Michael Raskin 58b29cd565 Added possibility to give configurations custom names.
svn path=/nixos/trunk/; revision=8915
2007-06-23 16:09:05 +00:00
Michael Raskin f0d1570377 Added kernel selection parameter, boot.useKernel
svn path=/nixos/trunk/; revision=8914
2007-06-23 15:48:09 +00:00
Michael Raskin 0e92d41124 Added configuration.nix option to add entries into nix.conf .
svn path=/nixos/trunk/; revision=8910
2007-06-21 17:14:33 +00:00
Eelco Dolstra c819d76ec7 * Option boot.extraGrubEntries to add arbitrary text to Grub's menu.lst.
svn path=/nixos/trunk/; revision=8883
2007-06-15 11:40:57 +00:00
Eelco Dolstra 258ef4bf19 * Upstart job for HAL.
svn path=/nixos/trunk/; revision=8854
2007-06-09 20:05:04 +00:00
Eelco Dolstra f70df0b275 * Added a job to start the D-Bus system-wide message bus daemon.
svn path=/nixos/trunk/; revision=8848
2007-06-08 18:56:55 +00:00
Eelco Dolstra 566c723986 * Allow the SLiM theme to be overriden.
* Delete the SLiM log file on X startup.

svn path=/nixos/trunk/; revision=8832
2007-06-05 11:51:59 +00:00
Wouter den Breejen 2e50d9cd58 nixos dir: Xserver and samba nixos
svn path=/nixos/trunk/; revision=8784
2007-05-28 14:09:04 +00:00
Eelco Dolstra aab8fda25a * Option `networking.localCommands' to specify shell commands to be
executed after the network interfaces have been initialised.

svn path=/nixos/trunk/; revision=8752
2007-05-24 14:50:17 +00:00
Eelco Dolstra a779e582cb * Doh.
svn path=/nixos/trunk/; revision=8651
2007-05-02 22:18:57 +00:00
Eelco Dolstra 66f0d29a48 * Use the new Intel driver.
svn path=/nixos/trunk/; revision=8633
2007-05-01 15:27:50 +00:00
Eelco Dolstra 3ab4e0f17f * Allow packages to be added to the system path like so:
environment = {
    extraPackages = pkgs: [
      pkgs.firefox
      pkgs.thunderbird
    ];
  };

  This approach is often actually nicer than adding to the default
  profile using nix-env, since it's declarative, and all packages
  declared here will be updated automatically when you run
  nixos-rebuild.

* Allow additional setuid programs to be specified in
  security.extraSetuidPrograms.

svn path=/nixos/trunk/; revision=8548
2007-04-07 21:44:26 +00:00
Eelco Dolstra 174f4f2c99 * Set the console font, the keymap, and Unicode/ASCII mode.
svn path=/nixos/trunk/; revision=8542
2007-04-04 17:10:38 +00:00
Eelco Dolstra 464d252d55 * Set the LANG environment variable (default is en_US.UTF-8,
can be overriden through the system configuration).

svn path=/nixos/trunk/; revision=8541
2007-04-04 13:47:54 +00:00
Eelco Dolstra a9635d3b73 * Upstart job for the CUPS daemon.
svn path=/nixos/trunk/; revision=8534
2007-04-02 17:31:58 +00:00
Eelco Dolstra e312a8ef64 * Start the SSH agent on X11 login.
svn path=/nixos/trunk/; revision=8531
2007-04-02 15:01:09 +00:00
Eelco Dolstra 9cb9621fec * Start KDE properly. Make sure that some essential packages such as
iceauth are in the system path when we're using KDE.

svn path=/nixos/trunk/; revision=8472
2007-03-28 21:16:35 +00:00
Eelco Dolstra 8452dd3cd0 * Upstart job for dhcpd.
svn path=/nixos/trunk/; revision=8311
2007-03-16 16:41:38 +00:00
Eelco Dolstra 8851530afb * Setting boot.localCommands for anything you want to execute before
Upstart is started.

svn path=/nixos/trunk/; revision=8229
2007-03-06 00:45:33 +00:00
Eelco Dolstra 8d731dacad * X session script:
- Set the desktop background to the image ~/.background-image.
  - Depending on services.xserver.sessionType, start an xterm or a
    gnome-terminal as the "desktop" :-)

* Upstart jobs can now declare extra packages to be added to the
  system path through the `extraPath' attribute.  For instance, the
  ALSA job adds alsa-utils, and the X server job adds lots of stuff
  depending on the X configuration (e.g., xrandr, gnome-terminal,
  twm).

* Create a cdrom/dvd symlink for SCSI sr? devices.

svn path=/nixos/trunk/; revision=8221
2007-03-06 00:07:00 +00:00
Eelco Dolstra 2bff886ae1 * Udev rules/script to load device firmware automatically. The udev
job takes a list of firmware directories in which to search for
  firmware files.  Right now this is just the Intel 2200 firmware (if
  enabled).

svn path=/nixos/trunk/; revision=8162
2007-03-03 23:20:08 +00:00
Eelco Dolstra ba56551986 * ALSA support: save/restore the volume settings, create device nodes
in /dev/snd.

svn path=/nixos/trunk/; revision=8124
2007-03-01 00:36:00 +00:00
Eelco Dolstra 8960f038dd * Allow metacity as the window manager.
svn path=/nixos/trunk/; revision=8119
2007-02-28 23:00:09 +00:00
Eelco Dolstra 31d91b4ec1 * Set build-max-jobs in the Nix configuration file from the NixOS
configuration file.

svn path=/nixos/trunk/; revision=8109
2007-02-28 16:58:35 +00:00
Eelco Dolstra 935042365c * Allow a netmask to be specified for each interface.
svn path=/nixos/trunk/; revision=8099
2007-02-28 14:19:20 +00:00
Eelco Dolstra 52c9a6c756 svn path=/nixos/trunk/; revision=8078 2007-02-27 19:04:30 +00:00
Eelco Dolstra a50097b9ca * Enable DRI support in the X server.
svn path=/nixos/trunk/; revision=8067
2007-02-27 00:31:04 +00:00
Eelco Dolstra fdb5a06fa4 * Specify the resolution and the video driver name in the configuration file.
svn path=/nixos/trunk/; revision=8061
2007-02-26 23:11:32 +00:00
Martin Bravenboer 8e6c1ba85d Support organization configuration for subversion
svn path=/nixos/trunk/; revision=8006
2007-02-22 10:55:58 +00:00
Eelco Dolstra 312e3d0e6b * Make ping setuid root.
svn path=/nixos/trunk/; revision=7970
2007-02-21 14:42:56 +00:00
Martin Bravenboer e99ffcbe71 changed the extraSubservices to a list of functions
svn path=/nixos/trunk/; revision=7931
2007-02-20 15:57:15 +00:00
Martin Bravenboer eeee6ea1e2 added configuration option for extraSubservices, which allows you to plugin an arbitrary service into the webserver.
svn path=/nixos/trunk/; revision=7926
2007-02-20 15:11:49 +00:00
Eelco Dolstra 17cc5ecc47 * Add OpenSSH and pciutils to the boot environment.
svn path=/nixos/trunk/; revision=7918
2007-02-19 22:33:44 +00:00
Eelco Dolstra 06a6116c44 * Allow manual network configuration, i.e., specificying the IP
address, gateway, and nameservers in the system configuration.

svn path=/nixos/trunk/; revision=7898
2007-02-12 16:00:55 +00:00
Eelco Dolstra ac93023f35 * Pass userCreationDomain.
svn path=/nixos/trunk/; revision=7891
2007-02-12 11:57:18 +00:00
Eelco Dolstra 582abdaae2 * Option boot.copyKernels to copy all kernels and initrd to
/boot/kernels.  This is necessary if /nix is on a different file
  system than /.  (And it will allow us to support a separate /boot
  partition too.)

svn path=/nixos/trunk/; revision=7887
2007-02-09 16:19:29 +00:00
Eelco Dolstra 2f6810d4af svn path=/nixos/trunk/; revision=7878 2007-02-07 16:10:37 +00:00
Eelco Dolstra b0b776c04a * Add support for USB keyboards in stage 1.
svn path=/nixos/trunk/; revision=7811
2007-01-30 12:49:18 +00:00
Eelco Dolstra e3c5b9e752 svn path=/nixos/trunk/; revision=7767 2007-01-23 11:18:23 +00:00
Eelco Dolstra 8e0f2fd7c6 * Properly render DocBook in option descriptions.
svn path=/nixos/trunk/; revision=7765
2007-01-23 11:06:31 +00:00
Eelco Dolstra cdb98f8418 * Option to disable the splash screen in the initrd.
svn path=/nixos/trunk/; revision=7755
2007-01-22 18:58:04 +00:00
Eelco Dolstra 327cb83cf2 * Make it possible to turn off the generation of fonts.conf. This is
important for the installation CD, where we don't want a dependency
  on all those fonts.  Of course, it's quite nice that turning off the
  generation of a file automatically removes the dependencies on the
  files referenced by that file.

svn path=/nixos/trunk/; revision=7750
2007-01-22 16:42:29 +00:00
Eelco Dolstra 02d3541a8b * Allow the time zone to be configured.
svn path=/nixos/trunk/; revision=7706
2007-01-17 12:33:23 +00:00
Eelco Dolstra 9866132d81 * Generate the LDAP configuration automatically.
svn path=/nixos/trunk/; revision=7698
2007-01-16 16:09:43 +00:00
Eelco Dolstra 580f98f1ed * Make the set of setuid programs configurable.
* Make crontab setuid.

svn path=/nixos/trunk/; revision=7636
2007-01-11 16:29:23 +00:00
Eelco Dolstra 158c303e2f * Enable SFTP support in sshd.
svn path=/nixos/trunk/; revision=7622
2007-01-10 17:19:17 +00:00
Eelco Dolstra 7ba1682c05 * In fileSystems: say label = "FOO"' instead of device = "LABEL=foo"'.
svn path=/nixos/trunk/; revision=7611
2007-01-10 13:58:48 +00:00
Eelco Dolstra 24e34612e3 * Allow swap devices to be specified by label.
svn path=/nixos/trunk/; revision=7609
2007-01-10 13:07:57 +00:00
Eelco Dolstra cbe4c2e0b8 * Installer: pull the manifest properly.
svn path=/nixos/trunk/; revision=7594
2007-01-09 21:19:06 +00:00
Eelco Dolstra 2148123b9c * Merge splash-themes.nix into the regular options infrastructure.
svn path=/nixos/trunk/; revision=7576
2007-01-08 22:41:41 +00:00
Eelco Dolstra b7f11ad98b * Generate sshd_config to set XAuthLocation if X11 forwarding is
enabled.

svn path=/nixos/trunk/; revision=7548
2007-01-07 10:19:16 +00:00
Eelco Dolstra b6b5bafa22 * Refactoring.
svn path=/nixos/trunk/; revision=7533
2007-01-04 10:29:40 +00:00
Renamed from configuration/options.nix (Browse further)