2007-01-08 22:41:41 +00:00
|
|
|
{pkgs}:
|
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
[
|
2006-11-27 15:07:46 +00:00
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2007-01-17 12:33:23 +00:00
|
|
|
{
|
|
|
|
name = ["time" "timeZone"];
|
|
|
|
default = "CET";
|
|
|
|
example = "America/New_York";
|
|
|
|
description = "The time zone used when displaying times and dates.";
|
|
|
|
}
|
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "autoDetectRootDevice"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to find the root device automatically by searching for a
|
2006-12-21 00:16:20 +00:00
|
|
|
device with the right label. If this option is off, then a root
|
2006-12-21 01:07:23 +00:00
|
|
|
file system must be specified using <option>fileSystems</option>.
|
2006-12-11 16:10:23 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "readOnlyRoot"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
2007-02-19 22:33:44 +00:00
|
|
|
Whether the root device is read-only. This should be set when
|
|
|
|
booting from CD-ROM.
|
2006-12-11 16:10:23 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "rootLabel"];
|
|
|
|
description = "
|
|
|
|
When auto-detecting the root device (see
|
|
|
|
<option>boot.autoDetectRootDevice</option>), this option
|
|
|
|
specifies the label of the root device. Right now, this is
|
|
|
|
merely a file name that should exist in the root directory of
|
|
|
|
the file system. It is used to find the boot CD-ROM.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "grubDevice"];
|
|
|
|
default = "";
|
|
|
|
example = "/dev/hda";
|
|
|
|
description = "
|
|
|
|
The device on which the boot loader, Grub, will be installed.
|
|
|
|
If empty, Grub won't be installed and it's your responsibility
|
|
|
|
to make the system bootable.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-06-23 16:48:09 +01:00
|
|
|
{
|
|
|
|
name = ["boot" "useKernel"];
|
|
|
|
default = pkgs :(pkgs.kernel);
|
|
|
|
description = "
|
|
|
|
Function that takes package collection and returns kernel
|
|
|
|
package. Do not collect old generations after changing it
|
|
|
|
until you get to boot successfully. In principle, you can
|
|
|
|
specify a kernel that will build, but not boot.
|
|
|
|
";
|
|
|
|
}
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2007-06-23 17:09:05 +01:00
|
|
|
{
|
|
|
|
name = ["boot" "configurationName"];
|
|
|
|
default = "";
|
|
|
|
example = "Stable 2.6.21";
|
|
|
|
description = "
|
|
|
|
Grub entry name instead of default.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2006-12-11 17:36:57 +00:00
|
|
|
{
|
|
|
|
name = ["boot" "kernelParams"];
|
|
|
|
default = [
|
|
|
|
"selinux=0"
|
|
|
|
"apm=on"
|
|
|
|
"acpi=on"
|
|
|
|
"vga=0x317"
|
|
|
|
"console=tty1"
|
|
|
|
"splash=verbose"
|
|
|
|
];
|
|
|
|
description = "
|
|
|
|
The kernel parameters. If you want to add additional
|
|
|
|
parameters, it's best to set
|
2007-01-23 11:06:31 +00:00
|
|
|
<option>boot.extraKernelParams</option>.
|
2006-12-11 17:36:57 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "extraKernelParams"];
|
|
|
|
default = [
|
|
|
|
];
|
|
|
|
example = [
|
|
|
|
"debugtrace"
|
|
|
|
];
|
|
|
|
description = "
|
|
|
|
Additional user-defined kernel parameters.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-22 23:34:42 +00:00
|
|
|
{
|
|
|
|
name = ["boot" "hardwareScan"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to try to load kernel modules for all detected hardware.
|
|
|
|
Usually this does a good job of providing you with the modules
|
|
|
|
you need, but sometimes it can crash the system or cause other
|
|
|
|
nasty effects. If the hardware scan is turned on, it can be
|
|
|
|
disabled at boot time by adding the <literal>safemode</literal>
|
|
|
|
parameter to the kernel command line.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "kernelModules"];
|
|
|
|
default = [];
|
|
|
|
description = "
|
|
|
|
The set of kernel modules to be loaded in the second stage of
|
|
|
|
the boot process. That is, these modules are not included in
|
|
|
|
the initial ramdisk, so they'd better not be required for
|
|
|
|
mounting the root file system. Add them to
|
2007-01-23 11:06:31 +00:00
|
|
|
<option>boot.initrd.extraKernelModules</option> if they are.
|
2006-12-22 23:34:42 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-19 22:12:44 +00:00
|
|
|
{
|
|
|
|
name = ["boot" "initrd" "kernelModules"];
|
2006-12-23 00:13:22 +00:00
|
|
|
default = [
|
|
|
|
"ahci"
|
|
|
|
"ata_piix"
|
2007-02-07 16:10:37 +00:00
|
|
|
"pata_marvell"
|
2006-12-23 00:59:14 +00:00
|
|
|
"sd_mod"
|
2006-12-23 00:13:22 +00:00
|
|
|
"sr_mod"
|
|
|
|
"ide-cd"
|
|
|
|
"ide-disk"
|
|
|
|
"ide-generic"
|
|
|
|
"ext3"
|
2007-01-30 12:49:18 +00:00
|
|
|
# Support USB keyboards, in case the boot fails and we only have
|
|
|
|
# a USB keyboard.
|
|
|
|
"ehci_hcd"
|
|
|
|
"ohci_hcd"
|
|
|
|
"usbhid"
|
2006-12-23 00:13:22 +00:00
|
|
|
];
|
2006-12-19 22:12:44 +00:00
|
|
|
description = "
|
|
|
|
The set of kernel modules in the initial ramdisk used during the
|
|
|
|
boot process. This set must include all modules necessary for
|
|
|
|
mounting the root device. That is, it should include modules
|
|
|
|
for the physical device (e.g., SCSI drivers) and for the file
|
|
|
|
system (e.g., ext3). The set specified here is automatically
|
|
|
|
closed under the module dependency relation, i.e., all
|
|
|
|
dependencies of the modules list here are included
|
|
|
|
automatically. If you want to add additional
|
|
|
|
modules, it's best to set
|
2007-01-23 11:06:31 +00:00
|
|
|
<option>boot.initrd.extraKernelModules</option>.
|
2006-12-19 22:12:44 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "initrd" "extraKernelModules"];
|
|
|
|
default = [];
|
|
|
|
description = "
|
2006-12-22 23:34:42 +00:00
|
|
|
Additional kernel modules for the initial ramdisk. These are
|
|
|
|
loaded before the modules listed in
|
2007-01-23 11:06:31 +00:00
|
|
|
<option>boot.initrd.kernelModules</option>, so they take
|
2006-12-22 23:34:42 +00:00
|
|
|
precedence.
|
2006-12-19 22:12:44 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-06-28 10:57:36 +01:00
|
|
|
{
|
|
|
|
name = ["boot" "initrd" "lvm"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to include lvm in the initial ramdisk. You should use this option
|
|
|
|
if your ROOT device is on lvm volume.
|
|
|
|
";
|
|
|
|
}
|
2006-12-19 22:12:44 +00:00
|
|
|
|
2007-01-22 18:58:04 +00:00
|
|
|
{
|
|
|
|
name = ["boot" "initrd" "enableSplashScreen"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to show a nice splash screen while booting.
|
|
|
|
";
|
2007-02-09 16:19:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["boot" "copyKernels"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether the Grub menu builder should copy kernels and initial
|
|
|
|
ramdisks to /boot. This is necessary when /nix is on a
|
|
|
|
different file system than /.
|
|
|
|
";
|
2007-01-22 18:58:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-03-06 00:45:33 +00:00
|
|
|
{
|
|
|
|
name = ["boot" "localCommands"];
|
|
|
|
default = "";
|
|
|
|
example = "text=anything; echo You can put $text here.";
|
|
|
|
description = "
|
|
|
|
Shell commands to be executed just before Upstart is started.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-06-15 12:40:57 +01:00
|
|
|
{
|
|
|
|
name = ["boot" "extraGrubEntries"];
|
|
|
|
default = "";
|
|
|
|
example = "
|
|
|
|
title Windows
|
|
|
|
chainloader (hd0,1)+1
|
|
|
|
";
|
|
|
|
description = "
|
|
|
|
Any additional entries you want added to the Grub boot menu.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-03-03 23:20:08 +00:00
|
|
|
{
|
|
|
|
name = ["networking" "hostName"];
|
|
|
|
default = "nixos";
|
|
|
|
description = "The name of the machine.";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-11-27 15:07:46 +00:00
|
|
|
name = ["networking" "useDHCP"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to use DHCP to obtain an IP adress and other
|
|
|
|
configuration for all network interfaces that are not manually
|
|
|
|
configured.
|
2006-11-27 16:26:51 +00:00
|
|
|
";
|
|
|
|
}
|
2006-11-27 15:07:46 +00:00
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-11-27 15:07:46 +00:00
|
|
|
name = ["networking" "interfaces"];
|
|
|
|
default = [];
|
|
|
|
example = [
|
2007-02-12 16:00:55 +00:00
|
|
|
{ name = "eth0";
|
2006-11-27 15:07:46 +00:00
|
|
|
ipAddress = "131.211.84.78";
|
2007-02-28 14:19:20 +00:00
|
|
|
subnetMask = "255.255.255.128";
|
2006-11-27 15:07:46 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
description = "
|
|
|
|
The configuration for each network interface. If
|
|
|
|
<option>networking.useDHCP</option> is true, then each interface
|
|
|
|
not listed here will be configured using DHCP.
|
2006-11-27 16:26:51 +00:00
|
|
|
";
|
|
|
|
}
|
2006-11-27 15:07:46 +00:00
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2007-02-12 16:00:55 +00:00
|
|
|
{
|
|
|
|
name = ["networking" "defaultGateway"];
|
|
|
|
default = "";
|
|
|
|
example = "131.211.84.1";
|
|
|
|
description = "
|
|
|
|
The default gateway. It can be left empty if it is auto-detected through DHCP.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["networking" "nameservers"];
|
|
|
|
default = [];
|
|
|
|
example = ["130.161.158.4" "130.161.33.17"];
|
|
|
|
description = "
|
|
|
|
The list of nameservers. It can be left empty if it is auto-detected through DHCP.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-03-03 23:20:08 +00:00
|
|
|
{
|
|
|
|
name = ["networking" "enableIntel2200BGFirmware"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Turn on this option if you want firmware for the Intel
|
|
|
|
PRO/Wireless 2200BG to be loaded automatically. This is
|
|
|
|
required if you want to use this device. Intel requires you to
|
|
|
|
accept the license for this firmware, see
|
|
|
|
<link xlink:href='http://ipw2200.sourceforge.net/firmware.php?fid=7'/>.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-05-24 15:50:17 +01:00
|
|
|
{
|
|
|
|
name = ["networking" "localCommands"];
|
|
|
|
default = "";
|
|
|
|
example = "text=anything; echo You can put $text here.";
|
|
|
|
description = "
|
|
|
|
Shell commands to be executed at the end of the
|
|
|
|
<literal>network-interfaces</literal> Upstart job. Note that if
|
|
|
|
you are using DHCP to obtain the network configuration,
|
|
|
|
interfaces may not be fully configured yet.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-08-14 17:43:56 +01:00
|
|
|
{
|
|
|
|
name = ["networking" "interfaceMonitor" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
If <literal>true</literal>, monitor Ethernet interfaces for
|
|
|
|
cables being plugged in or unplugged. When this occurs, the
|
|
|
|
<optional>dhclient</optional> service is restarted to
|
|
|
|
automatically obtain a new IP address. This is useful for
|
|
|
|
roaming users (laptops).
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["networking" "interfaceMonitor" "beep"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
If <literal>true</literal>, beep when an Ethernet cable is
|
|
|
|
plugged in or unplugged.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-12-21 01:07:23 +00:00
|
|
|
name = ["fileSystems"];
|
|
|
|
default = [];
|
2006-11-27 15:07:46 +00:00
|
|
|
example = [
|
2006-12-21 00:16:20 +00:00
|
|
|
{ mountPoint = "/";
|
|
|
|
device = "/dev/hda1";
|
|
|
|
}
|
|
|
|
{ mountPoint = "/data";
|
|
|
|
device = "/dev/hda2";
|
2006-12-21 14:44:22 +00:00
|
|
|
fsType = "ext3";
|
2006-12-21 00:16:20 +00:00
|
|
|
options = "data=journal";
|
2006-11-27 15:07:46 +00:00
|
|
|
}
|
2007-01-10 13:58:48 +00:00
|
|
|
{ mountPoint = "/bigdisk";
|
|
|
|
label = "bigdisk";
|
|
|
|
}
|
2006-11-27 15:07:46 +00:00
|
|
|
];
|
|
|
|
description = "
|
2006-12-21 00:16:20 +00:00
|
|
|
The file systems to be mounted. It must include an entry for
|
2006-12-21 01:07:23 +00:00
|
|
|
the root directory (<literal>mountPoint = \"/\"</literal>) if
|
|
|
|
<literal>boot.autoDetectRootDevice</literal> is not set. Each
|
|
|
|
entry in the list is an attribute set with the following fields:
|
|
|
|
<literal>mountPoint</literal>, <literal>device</literal>,
|
2006-12-21 14:44:22 +00:00
|
|
|
<literal>fsType</literal> (a file system type recognised by
|
2006-12-21 01:07:23 +00:00
|
|
|
<command>mount</command>; defaults to
|
2006-12-21 14:44:22 +00:00
|
|
|
<literal>\"auto\"</literal>), and <literal>options</literal>
|
|
|
|
(the mount options passed to <command>mount</command> using the
|
|
|
|
<option>-o</option> flag; defaults to <literal>\"defaults\"</literal>).
|
2007-01-10 13:58:48 +00:00
|
|
|
|
|
|
|
Instead of specifying <literal>device</literal>, you can also
|
2007-01-23 11:18:23 +00:00
|
|
|
specify a volume label (<literal>label</literal>) for file
|
2007-01-10 13:58:48 +00:00
|
|
|
systems that support it, such as ext2/ext3 (see <command>mke2fs
|
|
|
|
-L</command>).
|
2006-11-27 15:07:46 +00:00
|
|
|
";
|
2006-11-27 16:26:51 +00:00
|
|
|
}
|
2006-11-27 15:07:46 +00:00
|
|
|
|
2006-12-18 17:41:57 +00:00
|
|
|
|
2006-12-21 01:07:23 +00:00
|
|
|
{
|
|
|
|
name = ["swapDevices"];
|
|
|
|
default = [];
|
2007-01-10 13:07:57 +00:00
|
|
|
example = [
|
|
|
|
{device="/dev/hda7";}
|
|
|
|
{device="/var/swapfile";}
|
|
|
|
{label="bigswap";}
|
|
|
|
];
|
2006-12-21 01:07:23 +00:00
|
|
|
description = "
|
|
|
|
The swap devices and swap files. These must have been
|
2007-01-10 13:07:57 +00:00
|
|
|
initialised using <command>mkswap</command>. Each element
|
|
|
|
should be an attribute set specifying either the path of the
|
|
|
|
swap device or file (<literal>device</literal>) or the label
|
|
|
|
of the swap device (<literal>label</literal>, see
|
2007-01-23 11:06:31 +00:00
|
|
|
<command>mkswap -L</command>). Using a label is
|
2007-01-10 13:07:57 +00:00
|
|
|
recommended.
|
2006-12-21 01:07:23 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-18 17:41:57 +00:00
|
|
|
{
|
|
|
|
name = ["services" "extraJobs"];
|
|
|
|
default = [];
|
|
|
|
description = "
|
|
|
|
Additional Upstart jobs.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-11-27 15:07:46 +00:00
|
|
|
name = ["services" "syslogd" "tty"];
|
|
|
|
default = 10;
|
|
|
|
description = "
|
|
|
|
The tty device on which syslogd will print important log
|
|
|
|
messages.
|
|
|
|
";
|
2006-11-27 16:26:51 +00:00
|
|
|
}
|
2006-12-11 16:10:23 +00:00
|
|
|
|
|
|
|
|
2007-01-08 22:41:41 +00:00
|
|
|
{
|
|
|
|
name = ["services" "ttyBackgrounds" "enable"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to enable graphical backgrounds for the virtual consoles.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ttyBackgrounds" "defaultTheme"];
|
|
|
|
default = pkgs.fetchurl {
|
2007-07-20 13:33:46 +01:00
|
|
|
#url = http://www.bootsplash.de/files/themes/Theme-BabyTux.tar.bz2;
|
|
|
|
url = http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/Theme-BabyTux.tar.bz2;
|
2007-01-08 22:41:41 +00:00
|
|
|
md5 = "a6d89d1c1cff3b6a08e2f526f2eab4e0";
|
|
|
|
};
|
|
|
|
description = "
|
|
|
|
The default theme for the virtual consoles. Themes can be found
|
2007-01-23 11:06:31 +00:00
|
|
|
at <link xlink:href='http://www.bootsplash.de/' />.
|
2007-01-08 22:41:41 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ttyBackgrounds" "defaultSpecificThemes"];
|
|
|
|
default = [
|
2007-05-01 16:27:50 +01:00
|
|
|
/*
|
2007-01-08 22:41:41 +00:00
|
|
|
{ tty = 6;
|
|
|
|
theme = pkgs.fetchurl { # Yeah!
|
|
|
|
url = http://www.bootsplash.de/files/themes/Theme-Pativo.tar.bz2;
|
|
|
|
md5 = "9e13beaaadf88d43a5293e7ab757d569";
|
|
|
|
};
|
|
|
|
}
|
2007-05-01 16:27:50 +01:00
|
|
|
*/
|
2007-01-08 22:41:41 +00:00
|
|
|
{ tty = 10;
|
|
|
|
theme = pkgs.fetchurl {
|
2007-07-20 13:33:46 +01:00
|
|
|
#url = http://www.bootsplash.de/files/themes/Theme-GNU.tar.bz2;
|
|
|
|
url = http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/Theme-GNU.tar.bz2;
|
2007-01-08 22:41:41 +00:00
|
|
|
md5 = "61969309d23c631e57b0a311102ef034";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
description = "
|
|
|
|
This option sets specific themes for virtual consoles. If you
|
|
|
|
just want to set themes for additional consoles, use
|
|
|
|
<option>services.ttyBackgrounds.specificThemes</option>.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ttyBackgrounds" "specificThemes"];
|
|
|
|
default = [
|
|
|
|
];
|
|
|
|
description = "
|
|
|
|
This option allows you to set specific themes for virtual
|
|
|
|
consoles.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-11-27 15:07:46 +00:00
|
|
|
name = ["services" "mingetty" "ttys"];
|
|
|
|
default = [1 2 3 4 5 6];
|
|
|
|
description = "
|
|
|
|
The list of tty (virtual console) devices on which to start a
|
|
|
|
login prompt.
|
|
|
|
";
|
2006-11-27 16:26:51 +00:00
|
|
|
}
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2007-01-23 11:18:23 +00:00
|
|
|
|
|
|
|
/*
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-11-27 15:07:46 +00:00
|
|
|
name = ["services" "mingetty" "waitOnMounts"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether the login prompts on the virtual consoles will be
|
|
|
|
started before or after all file systems have been mounted. By
|
|
|
|
default we don't wait, but if for example your /home is on a
|
|
|
|
separate partition, you may want to turn this on.
|
|
|
|
";
|
2006-11-27 16:26:51 +00:00
|
|
|
}
|
2007-01-23 11:18:23 +00:00
|
|
|
*/
|
2006-11-27 15:07:46 +00:00
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2007-03-16 16:41:38 +00:00
|
|
|
{
|
|
|
|
name = ["services" "dhcpd" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable the DHCP server.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "dhcpd" "configFile"];
|
|
|
|
description = "
|
|
|
|
The path of the DHCP server configuration file.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "dhcpd" "interfaces"];
|
|
|
|
default = ["eth0"];
|
|
|
|
description = "
|
|
|
|
The interfaces on which the DHCP server should listen.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-11-27 15:07:46 +00:00
|
|
|
name = ["services" "sshd" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable the Secure Shell daemon, which allows secure
|
|
|
|
remote logins.
|
|
|
|
";
|
2006-11-27 16:26:51 +00:00
|
|
|
}
|
2006-11-27 15:07:46 +00:00
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2006-11-27 16:26:51 +00:00
|
|
|
{
|
2006-11-27 15:07:46 +00:00
|
|
|
name = ["services" "sshd" "forwardX11"];
|
2007-01-07 10:19:16 +00:00
|
|
|
default = true;
|
2006-11-27 15:07:46 +00:00
|
|
|
description = "
|
|
|
|
Whether to enable sshd to forward X11 connections.
|
|
|
|
";
|
2006-11-27 16:26:51 +00:00
|
|
|
}
|
2006-11-27 15:07:46 +00:00
|
|
|
|
2006-12-11 16:10:23 +00:00
|
|
|
|
2007-01-10 17:19:17 +00:00
|
|
|
{
|
|
|
|
name = ["services" "sshd" "allowSFTP"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to enable the SFTP subsystem in the SSH daemon. This
|
2007-01-23 11:06:31 +00:00
|
|
|
enables the use of commands such as <command>sftp</command> and
|
|
|
|
<command>sshfs</command>.
|
2007-01-10 17:19:17 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-21 23:43:17 +00:00
|
|
|
{
|
|
|
|
name = ["services" "ntp" "enable"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to synchronise your machine's time using the NTP
|
|
|
|
protocol.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ntp" "servers"];
|
|
|
|
default = [
|
|
|
|
"0.pool.ntp.org"
|
|
|
|
"1.pool.ntp.org"
|
|
|
|
"2.pool.ntp.org"
|
|
|
|
];
|
|
|
|
description = "
|
|
|
|
The set of NTP servers from which to synchronise.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-16 18:24:49 +00:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable the X server.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-02-26 23:11:32 +00:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "resolutions"];
|
|
|
|
default = [{x = 1024; y = 768;} {x = 800; y = 600;} {x = 640; y = 480;}];
|
|
|
|
description = "
|
|
|
|
The screen resolutions for the X server. The first element is the default resolution.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "xserver" "videoDriver"];
|
|
|
|
default = "vesa";
|
|
|
|
example = "i810";
|
|
|
|
description = "
|
|
|
|
The name of the video driver for your graphics card.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-02-27 00:31:04 +00:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "driSupport"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable accelerated OpenGL rendering through the
|
|
|
|
Direct Rendering Interface (DRI).
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-03-06 00:07:00 +00:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "sessionType"];
|
|
|
|
default = "gnome";
|
|
|
|
example = "xterm";
|
|
|
|
description = "
|
|
|
|
The kind of session to start after login. Current possibilies
|
2007-03-28 22:16:35 +01:00
|
|
|
are <literal>kde</literal> (which starts KDE),
|
|
|
|
<literal>gnome</literal> (which starts
|
2007-03-06 00:07:00 +00:00
|
|
|
<command>gnome-terminal</command>) and <literal>xterm</literal>
|
|
|
|
(which starts <command>xterm</command>).
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-03-28 22:16:35 +01:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "windowManager"];
|
|
|
|
default = "";
|
|
|
|
description = "
|
|
|
|
This option selects the window manager. Available values are
|
|
|
|
<literal>twm</literal> (extremely primitive),
|
|
|
|
<literal>metacity</literal>, and <literal>compiz</literal>. If
|
|
|
|
left empty, the <option>sessionType</option> determines the
|
|
|
|
window manager, e.g., Metacity for Gnome, and
|
|
|
|
<command>kwm</command> for KDE.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-03-06 00:07:00 +00:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "sessionStarter"];
|
|
|
|
example = "${pkgs.xterm}/bin/xterm -ls";
|
|
|
|
description = "
|
|
|
|
The command executed after login and after the window manager
|
|
|
|
has been started. Used if
|
|
|
|
<option>services.xserver.sessionType</option> is not empty.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-04-02 16:01:09 +01:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "startSSHAgent"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to start the SSH agent when you log in. The SSH agent
|
|
|
|
remembers private keys for you so that you don't have to type in
|
|
|
|
passphrases every time you make an SSH connection. Use
|
|
|
|
<command>ssh-add</command> to add a key to the agent.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-06-05 12:51:59 +01:00
|
|
|
{
|
|
|
|
name = ["services" "xserver" "slim" "theme"];
|
|
|
|
default = null;
|
|
|
|
example = pkgs.fetchurl {
|
|
|
|
url = http://download.berlios.de/slim/slim-wave.tar.gz;
|
|
|
|
sha256 = "0ndr419i5myzcylvxb89m9grl2xyq6fbnyc3lkd711mzlmnnfxdy";
|
|
|
|
};
|
|
|
|
description = "
|
|
|
|
The theme for the SLiM login manager. If not specified, SLiM's
|
|
|
|
default theme is used. See <link
|
|
|
|
xlink:href='http://slim.berlios.de/themes01.php'/> for a
|
|
|
|
collection of themes.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-18 19:20:03 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable the Apache httpd server.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-27 19:04:30 +00:00
|
|
|
|
2006-12-18 19:46:48 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "user"];
|
|
|
|
default = "wwwrun";
|
|
|
|
description = "
|
|
|
|
User account under which httpd runs. The account is created
|
|
|
|
automatically if it doesn't exist.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "group"];
|
|
|
|
default = "wwwrun";
|
|
|
|
description = "
|
|
|
|
Group under which httpd runs. The account is created
|
|
|
|
automatically if it doesn't exist.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "hostName"];
|
|
|
|
default = "localhost";
|
|
|
|
description = "
|
|
|
|
Canonical hostname for the server.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "httpPort"];
|
|
|
|
default = 80;
|
|
|
|
description = "
|
|
|
|
Port for unencrypted HTTP requests.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "httpsPort"];
|
|
|
|
default = 443;
|
|
|
|
description = "
|
|
|
|
Port for encrypted HTTP requests.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "adminAddr"];
|
|
|
|
example = "admin@example.org";
|
|
|
|
description = "
|
|
|
|
E-mail address of the server administrator.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "logDir"];
|
|
|
|
default = "/var/log/httpd";
|
|
|
|
description = "
|
|
|
|
Directory for Apache's log files. It is created automatically.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-27 19:04:30 +00:00
|
|
|
|
2006-12-18 19:46:48 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "stateDir"];
|
|
|
|
default = "/var/run/httpd";
|
|
|
|
description = "
|
|
|
|
Directory for Apache's transient runtime state (such as PID
|
|
|
|
files). It is created automatically. Note that the default,
|
2007-01-23 11:06:31 +00:00
|
|
|
<filename>/var/run/httpd</filename>, is deleted at boot time.
|
2006-12-18 19:46:48 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-07-15 12:16:01 +01:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "noUserDir"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Set to false to let users to publish ~/public_html as /~user.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "extraDirectories"];
|
|
|
|
default = "";
|
|
|
|
example = "
|
|
|
|
<Directory /home>
|
|
|
|
Options FollowSymlinks
|
|
|
|
AllowOverride All
|
|
|
|
</Directory>
|
|
|
|
";
|
|
|
|
description = "
|
|
|
|
These lines go to httpd.conf verbatim. They will go after
|
|
|
|
directories and directory aliases defined by default.
|
|
|
|
";
|
|
|
|
}
|
2006-12-18 19:46:48 +00:00
|
|
|
|
2006-12-19 01:03:15 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "subservices" "subversion" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable the Subversion subservice in the webserver.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "httpd" "subservices" "subversion" "notificationSender"];
|
|
|
|
example = "svn-server@example.org";
|
|
|
|
description = "
|
|
|
|
The email address used in the Sender field of commit
|
|
|
|
notification messages sent by the Subversion subservice.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-02-12 11:57:18 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "subservices" "subversion" "userCreationDomain"];
|
|
|
|
example = "example.org";
|
|
|
|
description = "
|
|
|
|
The domain from which user creation is allowed. A client can
|
|
|
|
only create a new user account if its IP address resolves to
|
|
|
|
this domain.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-19 01:03:15 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "subservices" "subversion" "autoVersioning"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether you want the Subversion subservice to support
|
|
|
|
auto-versioning, which enables Subversion repositories to be
|
|
|
|
mounted as read/writable file systems on operating systems that
|
|
|
|
support WebDAV.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-22 10:55:58 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "subservices" "subversion" "organization" "name"];
|
|
|
|
default = null;
|
|
|
|
description = "
|
|
|
|
Name of the organization hosting the Subversion service.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-27 19:04:30 +00:00
|
|
|
|
2007-02-22 10:55:58 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "subservices" "subversion" "organization" "url"];
|
|
|
|
default = null;
|
|
|
|
description = "
|
|
|
|
URL of the website of the organization hosting the Subversion service.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-27 19:04:30 +00:00
|
|
|
|
2007-02-22 10:55:58 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "subservices" "subversion" "organization" "logo"];
|
|
|
|
default = null;
|
|
|
|
description = "
|
|
|
|
Logo the organization hosting the Subversion service.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-27 19:04:30 +00:00
|
|
|
|
2007-02-20 15:11:49 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "extraSubservices" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable the extra subservices in the webserver.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-27 19:04:30 +00:00
|
|
|
|
2007-02-20 15:11:49 +00:00
|
|
|
{
|
|
|
|
name = ["services" "httpd" "extraSubservices" "services"];
|
2007-02-20 15:57:15 +00:00
|
|
|
default = [];
|
2007-02-20 15:11:49 +00:00
|
|
|
description = "
|
|
|
|
Extra subservices to enable in the webserver.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-02-27 19:04:30 +00:00
|
|
|
|
2007-04-02 18:31:58 +01:00
|
|
|
{
|
|
|
|
name = ["services" "printing" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable printing support through the CUPS daemon.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-06-08 19:56:55 +01:00
|
|
|
{
|
|
|
|
name = ["services" "dbus" "enable"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to start the D-Bus message bus daemon. It is required
|
|
|
|
by the HAL service.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-06-09 21:05:04 +01:00
|
|
|
{
|
|
|
|
name = ["services" "hal" "enable"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to start the HAL daemon.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-01-09 21:19:06 +00:00
|
|
|
{
|
|
|
|
name = ["installer" "nixpkgsURL"];
|
|
|
|
default = "";
|
|
|
|
example = http://nix.cs.uu.nl/dist/nix/nixpkgs-0.11pre7577;
|
|
|
|
description = "
|
|
|
|
URL of the Nixpkgs distribution to use when building the
|
|
|
|
installation CD.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-08-15 13:01:20 +01:00
|
|
|
{
|
|
|
|
name = ["installer" "manifests"];
|
|
|
|
default = [http://nix.cs.uu.nl/dist/nix/channels-v3/nixpkgs-unstable/MANIFEST];
|
|
|
|
example =
|
|
|
|
[ http://nix.cs.uu.nl/dist/nix/channels-v3/nixpkgs-unstable/MANIFEST
|
|
|
|
http://nix.cs.uu.nl/dist/nix/channels-v3/nixpkgs-stable/MANIFEST
|
|
|
|
];
|
|
|
|
description = "
|
|
|
|
URLs of manifests to be downloaded when you run
|
|
|
|
<command>nixos-rebuild</command> to speed up builds.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-02-28 16:58:35 +00:00
|
|
|
{
|
|
|
|
name = ["nix" "maxJobs"];
|
|
|
|
default = 1;
|
|
|
|
example = 2;
|
|
|
|
description = "
|
|
|
|
This option defines the maximum number of jobs that Nix will try
|
|
|
|
to build in parallel. The default is 1. You should generally
|
|
|
|
set it to the number of CPUs in your system (e.g., 2 on a Athlon
|
|
|
|
64 X2).
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-06-21 18:14:33 +01:00
|
|
|
{
|
|
|
|
name = ["nix" "extraOptions"];
|
|
|
|
default = "";
|
|
|
|
example = "
|
|
|
|
gc-keep-outputs = true
|
|
|
|
gc-keep-derivations = true
|
|
|
|
";
|
|
|
|
description = "
|
|
|
|
This option allows to append lines to nix.conf.
|
|
|
|
";
|
|
|
|
}
|
2007-02-28 16:58:35 +00:00
|
|
|
|
2007-01-11 16:29:23 +00:00
|
|
|
{
|
|
|
|
name = ["security" "setuidPrograms"];
|
2007-02-21 14:42:56 +00:00
|
|
|
default = ["passwd" "su" "crontab" "ping" "ping6"];
|
2007-01-11 16:29:23 +00:00
|
|
|
description = "
|
|
|
|
Only the programs listed here will be made setuid root (through
|
2007-04-07 22:44:26 +01:00
|
|
|
a wrapper program). It's better to set
|
2007-05-02 23:18:57 +01:00
|
|
|
<option>security.extraSetuidPrograms</option>.
|
2007-01-11 16:29:23 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-04-07 22:44:26 +01:00
|
|
|
{
|
|
|
|
name = ["security" "extraSetuidPrograms"];
|
|
|
|
default = [];
|
|
|
|
example = ["fusermount"];
|
|
|
|
description = "
|
|
|
|
This option lists additional programs that must be made setuid
|
|
|
|
root.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-08-16 16:09:06 +01:00
|
|
|
{
|
|
|
|
name = ["security" "sudo" "enable"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to enable the <command>sudo</command> command, which
|
|
|
|
allows non-root users to execute commands as root.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["security" "sudo" "configFile"];
|
|
|
|
default = "
|
|
|
|
# WARNING: do not edit this file directly or with \"visudo\". Instead,
|
|
|
|
# edit the source file in /etc/nixos/nixos/etc/sudoers.
|
|
|
|
|
|
|
|
# \"root\" is allowed to do anything.
|
|
|
|
root ALL=(ALL) SETENV: ALL
|
|
|
|
|
|
|
|
# Users in the \"wheel\" group can do anything.
|
|
|
|
%wheel ALL=(ALL) SETENV: ALL
|
|
|
|
";
|
|
|
|
description = "
|
|
|
|
This string contains the contents of the
|
|
|
|
<filename>sudoers</filename> file. If syntax errors are
|
|
|
|
detected in this file, the NixOS configuration will fail to
|
|
|
|
build.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-01-16 16:09:43 +00:00
|
|
|
{
|
|
|
|
name = ["users" "ldap" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable authentication against an LDAP server.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["users" "ldap" "server"];
|
|
|
|
example = "ldap://ldap.example.org/";
|
|
|
|
description = "
|
|
|
|
The URL of the LDAP server.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["users" "ldap" "base"];
|
|
|
|
example = "dc=example,dc=org";
|
|
|
|
description = "
|
|
|
|
The distinguished name of the search base.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["users" "ldap" "useTLS"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
If enabled, use TLS (encryption) over an LDAP (port 389)
|
|
|
|
connection. The alternative is to specify an LDAPS server (port
|
|
|
|
636) in <option>users.ldap.server</option> or to forego
|
|
|
|
security.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-01-22 16:42:29 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
name = ["fonts" "enableFontConfig"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
If enabled, a fontconfig configuration file will be built
|
|
|
|
pointing to a set of default fonts. If you don't care about
|
|
|
|
running X11 applications or any other program that uses
|
|
|
|
fontconfig, you can turn this option off and prevent a
|
|
|
|
dependency on all those fonts.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-01-16 16:09:43 +00:00
|
|
|
|
2007-03-01 00:36:00 +00:00
|
|
|
{
|
|
|
|
name = ["sound" "enable"];
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to enable ALSA sound.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-04-04 14:47:54 +01:00
|
|
|
{
|
|
|
|
name = ["i18n" "defaultLocale"];
|
|
|
|
default = "en_US.UTF-8";
|
|
|
|
example = "nl_NL.UTF-8";
|
|
|
|
description = "
|
|
|
|
The default locale. It determines the language for program
|
|
|
|
messages, the format for dates and times, sort order, and so on.
|
|
|
|
It also determines the character set, such as UTF-8.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-04-04 18:10:38 +01:00
|
|
|
{
|
|
|
|
name = ["i18n" "consoleFont"];
|
|
|
|
default = "lat9w-16";
|
|
|
|
example = "LatArCyrHeb-16";
|
|
|
|
description = "
|
|
|
|
The font used for the virtual consoles. Leave empty to use
|
|
|
|
whatever the <command>setfont</command> program considers the
|
|
|
|
default font.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["i18n" "consoleKeyMap"];
|
|
|
|
default = "us";
|
|
|
|
example = "fr";
|
|
|
|
description = "
|
|
|
|
The keyboard mapping table for the virtual consoles.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-04-07 22:44:26 +01:00
|
|
|
{
|
|
|
|
name = ["environment" "extraPackages"];
|
|
|
|
default = pkgs: [];
|
|
|
|
example = pkgs: [pkgs.firefox pkgs.thunderbird];
|
|
|
|
description = "
|
|
|
|
This option allows you to add additional packages to the system
|
|
|
|
path. These packages are automatically available to all users,
|
|
|
|
and they are automatically updated every time you rebuild the
|
|
|
|
system configuration. (The latter is the main difference with
|
|
|
|
installing them in the default profile,
|
|
|
|
<filename>/nix/var/nix/profiles/default</filename>. The value
|
|
|
|
of this option must be a function that returns a list of
|
|
|
|
packages. The function will be called with the Nix Packages
|
|
|
|
collection as its argument for convenience.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-05-28 15:09:04 +01:00
|
|
|
{
|
|
|
|
name = ["services" "samba" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable the samba server. (to communicate with, and provide windows shares)
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2007-07-09 12:21:04 +01:00
|
|
|
{
|
|
|
|
name = ["services" "gw6c" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to enable Gateway6 client (IPv6 tunnel).
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "gw6c" "username"];
|
|
|
|
default = "";
|
|
|
|
description = "
|
|
|
|
Your Gateway6 login name, if any.
|
|
|
|
";
|
|
|
|
}
|
2007-05-28 15:09:04 +01:00
|
|
|
|
2007-07-09 12:21:04 +01:00
|
|
|
{
|
|
|
|
name = ["services" "gw6c" "password"];
|
|
|
|
default = "";
|
|
|
|
description = "
|
|
|
|
Your Gateway6 password, if any.
|
|
|
|
";
|
|
|
|
}
|
2007-04-07 22:44:26 +01:00
|
|
|
|
2007-07-09 12:21:04 +01:00
|
|
|
{
|
|
|
|
name = ["services" "gw6c" "server"];
|
|
|
|
default = "anon.freenet6.net";
|
|
|
|
example = "broker.freenet6.net";
|
|
|
|
description = "
|
|
|
|
Used Gateway6 server.
|
|
|
|
";
|
|
|
|
}
|
2007-08-08 21:42:25 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "gw6c" "keepAlive"];
|
|
|
|
default = "30";
|
|
|
|
example = "2";
|
|
|
|
description = "
|
|
|
|
Gateway6 keep-alive period.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "enable"];
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Enable IRCD.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "serverName"];
|
|
|
|
default = "hades.arpa";
|
|
|
|
description = "
|
|
|
|
IRCD server name.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "sid"];
|
|
|
|
default = "0NL";
|
|
|
|
description = "
|
|
|
|
IRCD server unique ID in a net of servers.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "description"];
|
|
|
|
default = "Hybrid-7 IRC server.";
|
|
|
|
description = "
|
|
|
|
IRCD server description.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "rsaKey"];
|
|
|
|
default = null;
|
|
|
|
example = /root/certificates/irc.key;
|
|
|
|
description = "
|
|
|
|
IRCD server RSA key.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "certificate"];
|
|
|
|
default = null;
|
|
|
|
example = /root/certificates/irc.pem;
|
|
|
|
description = "
|
|
|
|
IRCD server SSL certificate. There are some limitations - read manual.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "adminEmail"];
|
|
|
|
default = "<bit-bucket@example.com>";
|
|
|
|
example = "<name@domain.tld>";
|
|
|
|
description = "
|
|
|
|
IRCD server administrator e-mail.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "extraIPs"];
|
|
|
|
default = [];
|
|
|
|
example = ["127.0.0.1"];
|
|
|
|
description = "
|
|
|
|
Extra IP's to bind.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name = ["services" "ircdHybrid" "extraPort"];
|
|
|
|
default = "7117";
|
|
|
|
description = "
|
|
|
|
Extra port to avoid filtering.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2006-11-27 15:07:46 +00:00
|
|
|
]
|