NixOS Manual

Eelco Dolstra

Nicolas Pierron


Table of Contents

Preface
1. Installation
1.1. Building the installation CD
1.2. Installation
1.3. Changing the configuration
1.4. Keeping NixOS up to date
2. Configuration in home directory
2.1. Compiz Fusion
2.2. Pidgin-LaTeX
3. Troubleshooting
3.1. Debugging the boot process
3.2. Safe mode
3.3. Maintenance mode
4. Development
4.1. Extending NixOS
4.2. Building specific parts of NixOS
4.3. Building your own NixOS CD
4.4. Testing the installer
4.5. Testing the initrd
5. List of Options

List of Examples

1.1. Commands for installing NixOS on /dev/sda
1.2. NixOS configuration
4.1. Usual configuration file

Preface

This manual describes NixOS, a Linux distribution based on the purely functional package management system Nix.

NixOS is rather bleeding edge, and this manual is correspondingly sketchy and quite possibly out of date. It gives basic information on how to get NixOS up and running, but since NixOS is very much a work in progress, you are likely to encounter problems here and there. Extensive familiarity with Linux is recommended. If you encounter problems, please report them on the nix-dev@cs.uu.nl mailing list or on irc://irc.freenode.net/#nixos.

Chapter 1. Installation

1.1. Building the installation CD

Instead of building an installation CD, you could just download one from http://nixos.org/nixos/. If you want (or need) to build it yourself:

  1. Make sure that you have a very recent pre-release version of Nix installed (http://nixos.org/releases/nix/nix-unstable/). The NixOS Nix expressions frequently use bleeding-edge features. If you get any kind of expression evaluation error, try to upgrade your Nix.

  2. Optional but strongly recommended (and currently required for building the x86_64 ISO): subscribe/pull from the Nixpkgs channel to speed up building, i.e.,

    $ nix-channel --add http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable
    $ nix-channel --update

  3. Check out NixOS from https://svn.nixos.org/repos/nix/nixos/trunk as nixos.

  4. If you don’t already have Nixpkgs checkout, Check out Nixpkgs from https://svn.nixos.org/repos/nix/nixos/trunk as nixpkgs.

  5. In the directory nixos, make a symbolic link pkgs to the pkgs directory of the Nixpkgs tree, e.g.,

    $ ln -s nixpkgs/pkgs nixos/

  6. Build the ISO image:

    $ nix-build configuration/rescue-cd.nix -A rescueCD

    If everything goes well, you’ll end up with an ISO image in ./result/iso/nixos-version-platform.iso that you can burn onto a CD or attach to a virtual CD-ROM drive in your favourite virtual machine software.

1.2. Installation

  1. Boot from the CD.

  2. The CD contains a basic NixOS installation. (It also contain Memtest86+, useful if you want to test new hardware.) When it’s finished booting, it should have detected most of your hardware and brought up networking (check ifconfig). Networking is necessary for the installer, since it will download lots of stuff (such as source tarballs or Nixpkgs channel binaries). It’s best if you have a DHCP server on your network. Otherwise configure manually.

  3. The NixOS manual is available on virtual console 7 (press Alt+F7 to access).

  4. Login as root, empty password.

  5. The NixOS installer doesn’t do any partitioning or formatting yet, so you need to that yourself. Use the following commands:

    • For partitioning: fdisk.

    • For initialising Ext2/Ext3 partitions: mke2fs. Ext3 is recommended; use the -j to create a journalled file system. It is also recommended that you assign a unique symbolic label to the file system using the option -L label. This will make the file system configuration independent from device changes.

    • For creating swap partitions: mkswap. Again it’s recommended to assign a label to the swap partition: -L label.

    • For creating LVM volumes, the LVM commands, e.g.,

      $ pvcreate /dev/sda1 /dev/sdb1
      $ vgcreate MyVolGroup /dev/sda1 /dev/sdb1
      $ lvcreate --size 2G --name bigdisk MyVolGroup 
      $ lvcreate --size 1G --name smalldisk MyVolGroup

      Possibly you’ll need to do initctl start lvm after this (TODO: check whether this is needed).

    • For creating software RAID devices: mdadm.

  6. Mount the target file system on /mnt.

  7. The installation is declarative; you need to write a description of the configuration that you want to be built and activated. The configuration is specified in a Nix expression and must be stored on the target file system in /mnt/etc/nixos/configuration.nix. See /etc/nixos/nixos/doc/config-examples for example machine configurations. You can copy and edit one of those (e.g., copy /etc/nixos/nixos/doc/config-examples/basic.nix to /mnt/etc/nixos/configuration.nix). See Chapter 5, List of Options for a list of the available configuration options. The text editors nano and vim are available.

    In particular you need to specify a root file system in fileSystems and the target device for the Grub boot loader in boot.grubDevice.

    The command nixos-hardware-scan can generate an initial configuration file for you, i.e.,

    $ mkdir -p /mnt/etc/nixos
    $ nixos-hardware-scan > /mnt/etc/nixos/configuration.nix

    It tries to figure out the modules necessary for mounting the root device, as well as various other hardware characteristics. However, it doesn’t try to figure out the fileSystems option yet.

    More examples of NixOS configurations for some actual machines can be found at https://svn.nixos.org/repos/nix/configurations/trunk/.

    Note

    It is very important that you specify in the option boot.initrd.kernelModules all kernel modules that are necessary for mounting the root file system, otherwise the installed system will not be able to boot. (If this happens, boot from CD again, mount the target file system on /mnt, fix /mnt/etc/nixos/configuration.nix and rerun nixos-install.) nixos-hardware-scan should figure out the required modules in most cases.

  8. If your machine has a limited amount of memory, you may want to activate swap devices now (swapon device). The installer (or rather, the build actions that it may spawn) may need quite a bit of RAM, depending on your configuration.

  9. Optionally, you can run

    $ nixos-checkout

    to make the installer use the latest NixOS/Nixpkgs sources from the Subversion repository, rather than the sources on CD.

  10. Do the installation:

    $ nixos-install

    Cross fingers.

  11. If everything went well:

    $ reboot

  12. You should now be able to boot into the installed NixOS. The Grub boot menu shows a list of available configurations (initially just one). Every time you change the NixOS configuration (see Section 1.3, “Changing the configuration”), a new item appears in the menu. This allows you to go back easily to another configuration if something goes wrong.

    You should log in and change the root password with passwd.

    You’ll probably want to create some user accounts as well, which can be done with useradd:

    $ useradd -c 'Eelco Dolstra' -m eelco
    $ passwd eelco

    You may also want to install some software. For instance,

    $ nix-env -qa \*

    shows what packages are available, and

    $ nix-env -i w3m

    install the w3m browser.

Example 1.1, “Commands for installing NixOS on /dev/sda shows a typical sequence of commands for installing NixOS on an empty hard drive (here /dev/sda). Example 1.2, “NixOS configuration” shows a corresponding configuration Nix expression.

Example 1.1. Commands for installing NixOS on /dev/sda

$ fdisk /dev/sda (or whatever device you want to install on)
$ mke2fs -j -L nixos /dev/sda1 (idem)
$ mkswap -L swap /dev/sda2 (idem)
$ mount LABEL=nixos /mnt
$ mkdir -p /mnt/etc/nixos
$ nixos-hardware-scan > /mnt/etc/nixos/configuration.nix
$ nano /mnt/etc/nixos/configuration.nix
(in particular, set the fileSystems and swapDevices options)
$ nixos-install
$ reboot

Example 1.2. NixOS configuration

{
  boot.initrd.kernelModules = [ "ata_piix" ];
  boot.grubDevice = "/dev/sda";

  fileSystems = [
    { mountPoint = "/";
      label = "nixos";
    }
  ];

  swapDevices = [
    { label = "swap"; }
  ];
  
  services.sshd.enable = true;
}

1.3. Changing the configuration

The file /etc/nixos/configuration.nix contains the current configuration of your machine. Whenever you’ve changed something to that file, or to the NixOS/Nixpkgs sources in /etc/nixos/nixos and /etc/nixos/nixpkgs, respectively, you should do

$ nixos-rebuild switch

to build the new configuration, make it the default configuration for booting, and try to effect the configuration in the running system (e.g., by restarting system services).

You can also do

$ nixos-rebuild test

to build the configuration and switch the running system to it, but without making it the boot default. So if (say) the configuration locks up your machine, you can just reboot to get back to a working configuration.

There is also

$ nixos-rebuild boot

to build the configuration and make it the boot default, but not switch to it now (so it will only take effect after the next reboot).

Finally, you can do

$ nixos-rebuild build

to build the configuration but nothing more. This is useful to see whether everything compiles cleanly.

1.4. Keeping NixOS up to date

The currently best way to keep your NixOS installation up to date is to track the NixOS Subversion repository. The program nixos-checkout does that for you. It will check if the NixOS/NixPkgs sources are present and if they are under a version control system (VCS) before updating them to the latest version. If your sources are not under a VCS, then you can rename them before running nixos-checkout which will checkout the sources.

To build the latest and greatest, do

$ nixos-checkout
$ nixos-rebuild switch

(Or instead of switch, use any of the alternatives shown in Section 1.3, “Changing the configuration”.)

To customize your VCS or to handle more repositories with nixos-checkout, you can have a look at the options installer.repos.nixos and installer.repos.nixpkgs.

Chapter 2. Configuration in home directory

2.1. Compiz Fusion

Compiz Fusion is just a set of plugins fr Compiz. Your best interest is to have them found both by Compiz and by Compiz Configuration Settings (also in Compiz Fusion distribution). By default they look in Compiz installation path and in home directory. You do not need to track /nix/store manually - everything is already in /var/run/current-system/sw/share.

  1. $HOME/.compiz/plugins should contain plugins you want to load. All the installed plugins are available in /var/run/current-system/sw/share/compiz-plugins/compiz/, so you can use symlinks to this directory.

  2. $HOME/.compiz/metadata should contain metadata (definition of configuration options) for plugins you want to load. All the installed metadata is available in /var/run/current-system/sw/share/compiz/, so you can use symlinks to this directory.

  3. Probably a way to load GConf configuration backend by default should be found, but if you run Compiz with GConf configuration (default for X server job for now), you have to link /var/run/current-system/sw/share/compizconfig/backends/ into $HOME/.compizconfig/backends directory.

To summarize the above, these are the commands you have to execute ln -s /var/run/current-system/sw/share/compiz/ $HOME/.compiz/metadata ln -s /var/run/current-system/sw/share/compiz-plugins/compiz/ $HOME/.compiz/plugins ln -s /var/run/current-system/sw/share/compizconfig/backends/ $HOME/.compizconfig/backends Now you can launch ccsm and configure everything. You should select GConf as a backend in the preferences menu of ccsm

2.2. Pidgin-LaTeX

To have pidgin-latex plugin working after installation, you need the following:

  1. Symlink /var/run/current-system/sw/share/pidgin-latex/pidgin-latex.so to $HOME/.purple/plugins/pidgin-latex.so

  2. Enable smileys. If you do not want to, you can create $HOME/.purple/smileys/empty/theme with the following contents:

    	Name=Empty
    	Description=No predefined smileys
    	Author=Nobody
    	

    Enabling this theme will enable smileys, but define none.

  3. Enable the plugin.

Chapter 3. Troubleshooting

3.1. Debugging the boot process

To get a Stage 1 shell (i.e., a shell in the initial ramdisk), add debug1 to the kernel command line. The shell gets started before anything useful has been done. That is, no modules have been loaded and no file systems have been mounted, except for /proc and /sys.

To get a Stage 2 shell (i.e., a shell in the actual root file system), add debug2 to the kernel command line. This shell is started right after stage 1 calls the stage 2 init script, so the root file system is there but no services have been started.

3.2. Safe mode

If the hardware autodetection (in upstart-jobs/hardware-scan) causes problems, add safemode to the kernel command line. This will disable auto-loading of modules for your PCI devices. However, you will probably need to explicitly add modules to boot.kernelModules to get network support etc.

3.3. Maintenance mode

You can go to maintenance mode by doing

$ shutdown now

This will eventually give you a single-user root shell. To get out of maintenance mode, do

$ initctl emit startup

Chapter 4. Development

This chapter has some random notes on hacking on NixOS.

4.1. Extending NixOS

A unique syntax is used to express all system, hardware, computer and service configurations. This syntax helps for reading and writing new configuration files. It is coming with some extra strategies defined in NixPkgs which are used to merge and evaluate all configuration files.

A configuration file is the same as your own computer configuration.

Example 4.1. Usual configuration file

{config, modulesPath, pkgs, ...}: 1

let
  inherit (pkgs.lib) mkOption mkIf mkThenElse types; 2

  cfg = config.services.locate; 3
  locatedb = "/var/cache/locatedb";
  logfile = "/var/log/updatedb";
  cmd = "root  updatedb --localuser=nobody --output=${locatedb} > ${logfile}";
in

{
  imports = [ 4
    (modulesPath + /services/scheduling/cron.nix)
  ];

  options = { 5
    services.locate = {
      enable = mkOption {
        default = false;
        example = true;
        type = types.bool;
        description = ''
          If enabled, NixOS will periodically update the database of
          files used by the locate command.
        '';
      };

      period = mkOption {
        default = "15 02 * * *";
        type = types.uniq type.string;
        description = ''
          This option defines (in the format used by cron) when the
          locate database is updated.
          The default is to update at 02:15 (at night) every day.
        '';
      };
    };
  };

  config = mkIf cfg.enable { 6
    services.cron = {
      systemCronJobs = mkThenElse { 7
        thenPart = "${cfg.period}  root ${cmd}";
        elsePart = "";
      };
    };
  };
}

Example 4.1, “Usual configuration file” shows the configuration file for the locate service which uses cron to update the database at some dates which can be defined by the user. This nix expression is coming from upstart-jobs/cron/locate.nix. It shows a simple example of a service that can be either distributed on many computer that are using the same configuration or to shared with the community. This file is divided in two with the interface and the implementation. Both the interface and the implementation declare a configuration set.

1

This line declares the arguments of the configuration file. You can omit this line if there is no reference to pkgs and config inside the configuration file.

The argument pkgs refers to NixPkgs and allow you to access all attributes contained inside it. In this example pkgs is used to retrieve common functions to ease the writing of configuration files like mkOption, mkIf and mkThenElse.

The argument config corresponds to the whole NixOS configuration. This is a set which is build by merging all configuration files imported to set up the system. Thus all options declared are contained inside this variable. In this example config is used to retrieve the status of the enable flag. The important point of this argument is that it contains either the result of the merge of different settings or the default value, therefore you cannot assume that config.services.locate.enable is always false because it may have been defined in another configuration file.

2

This line is used to import a functions that are useful for writing this configuration file.

5

The variable options is a configuration set which is only used to declare options with the function mkOption imported from pkgs/lib/default.nix. Options may contained any attribute but only the following have a special meaning: default, example, description, merge and apply.

The merge attribute is used to merge all values defined in all configuration files and this function return a value which has the same type as the default value. If the merge function is not defined, then a default function (pkgs.lib.mergeDefaultOption) is used to merge values. The merge attribute is a function which expect two arguments: the location of the option and the list of values which have to be merged.

The apply attribute is a function used to process the option. Thus the value return by config.option would be the result of the apply function called with either the default value or the result of the merge function.

3

This line is a common trick used to reduce the amount of writing. In this case cfg is just a sugar over config.services.locate

6

This line is used to declare a special IF statement. If you had put a usual IF statement here, with the same condition, then you will get an infinite loop. The reason is that your condition ask for the value of the option config.services.locate.enable but in order to get this value you have to evaluate all configuration sets including the configuration set contained inside your file.

To remove this extra complexity, mkIf has been introduced to get rid of possible infinite loop and to factor your writing.

4

The attribute imports contains a list of other module location. These modules should provide option declarations for the current module in order to be evaluated safely.

When a dependence on a NixOS module has to be made, then you should use the argument modulesPath to prefix the location of your NixOS repository.

7

The attribute config, which should not be confused with the argument of the same name, contains a set of option definitions defined by this module. When there is neither imports nor options, then this attribute set can be return without any enclosing. This feature allow you to write your configuration.nix as a module which does not contains any option declarations.

As mkIf does not need any then part or else part, then you can specify one on each option definition with the function mkThenElse.

To avoid a lot of mkThenElse with empty else part, a sugar has been added to infer the corresponding empty-value of your option when the function mkThenElse is not used.

If your then part and else part are identical, then you should use the function mkAlways to ignore the condition.

If you need to add another condition, then you can add mkIf to on the appropriate location. Thus the then part will only be used if all conditions declared with mkIf are satisfied.

4.2. Building specific parts of NixOS

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

where attr is an attribute in /etc/nixos/nixos/default.nix. Attributes of interest include:

config

The computer configuration generated from the NIXOS_CONFIG environment variable (default is /etc/nixos/configuration.nix) with the NixOS default set of modules.

system

The derivation which build your computer system. It is built by the command nixos-rebuild build

vm

The derivation which build your computer system inside a virtual machine. It is built by the command nixos-rebuild build-vm

Most parts of NixOS can be build through the config attribute set. This attribute set allows you to have a view of the merged option definitions and all its derivations. Important derivations are store inside the option system.build and can be listed with the command nix-instantiate --xml --eval-only /etc/nixos/nixos -A config.system.build

4.3. Building your own NixOS CD

Building a NixOS CD is as easy as configuring your own computer. The idea is to use another module which will replace your configuration.nix to configure the system that would be install on the CD.

Default CD/DVD configurations are available inside nixos/modules/installer/cd-dvd. To build them you have to set NIXOS_CONFIG before running nix-build to build the ISO.

$ export NIXOS_CONFIG=/etc/nixos/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
$ nix-build /etc/nixos/nixos -A config.system.build.isoImage

Before burning your CD/DVD, you can check the content of the image by mounting anywhere like suggested by the following command:

$ mount -o loop -t iso9660 ./result/iso/cd.iso /mnt/iso

4.4. Testing the installer

Building, burning, and booting from an installation CD is rather tedious, so here is a quick way to see if the installer works properly:

$ export NIXOS_CONFIG=/etc/nixos/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
$ nix-build /etc/nixos/nixos -A config.system.build.nixosInstall
$ dd if=/dev/zero of=diskimage seek=2G count=0 bs=1
$ yes | mke2fs -j diskimage
$ mount -o loop diskimage /mnt
$ ./result/bin/nixos-install

4.5. Testing the initrd

A quick way to test whether the kernel and the initial ramdisk boot correctly is to use QEMU’s -kernel and -initrd options:

$ nix-build /etc/nixos/nixos -A config.system.build.initialRamdisk -o initrd
$ nix-build /etc/nixos/nixos -A config.system.build.kernel -o kernel
$ qemu-system-x86_64 -kernel ./kernel/bzImage -initrd ./initrd/initrd -hda /dev/null

Chapter 5. List of Options

assertions

This option allows modules to express conditions that must hold for the evaluation of the system configuration to succeed, along with associated error messages for the user.

Default: [ ]

Example: [ { assertion = false; msg = "you can't enable this for that reason"; } ]

Declared by:

/etc/nixos/nixos/modules/misc/assertions.nix

Defined by:

/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix
/etc/nixos/nixos/modules/services/x11/xserver.nix
/etc/nixos/nixos/modules/services/x11/xfs.nix
/etc/nixos/nixos/modules/services/networking/openfire.nix
/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
boot.blacklistedKernelModules

List of names of kernel modules that should not be loaded automatically by the hardware probing code.

Default: [ ]

Example: [ "cirrusfb" "i2c_piix4" ]

Declared by:

/etc/nixos/nixos/modules/system/boot/modprobe.nix

Defined by:

/etc/nixos/nixos/modules/system/boot/modprobe.nix
boot.bootMount

Obsolete name of boot.loader.grub.bootDevice.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
boot.copyKernels

Obsolete name of boot.loader.grub.copyKernels.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
boot.extraGrubEntries

Obsolete name of boot.loader.grub.extraEntries.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
boot.extraGrubEntriesBeforeNixos

Obsolete name of boot.loader.grub.extraEntriesBeforeNixOS.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
boot.extraKernelParams

Additional user-defined kernel parameters.

Default: [ ]

Example: [ "debugtrace" ]

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
boot.extraModprobeConfig

Any additional configuration to be appended to the generated modprobe.conf. This is typically used to specify module options. See modprobe.conf(5) for details.

Default: ""

Example: "options parport_pc io=0x378 irq=7 dma=1\n"

Declared by:

/etc/nixos/nixos/modules/system/boot/modprobe.nix
boot.extraModulePackages

A list of additional packages supplying kernel modules.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
boot.extraTTYs

Tty (virtual console) devices, in addition to the consoles on which mingetty and syslogd run, that must be initialised. Only useful if you have some program that you want to run on some fixed console. For example, the NixOS installation CD opens the manual in a web browser on console 7, so it sets boot.extraTTYs to ["tty7"].

Default: [ ]

Example: [ "tty8" "tty9" ]

Declared by:

/etc/nixos/nixos/modules/tasks/kbd.nix

Defined by:

/etc/nixos/nixos/modules/services/misc/rogue.nix
/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
boot.grubDevice

Obsolete name of boot.loader.grub.device.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
boot.grubSplashImage

Obsolete name of boot.loader.grub.splashImage.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
boot.hardwareScan

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 safemode parameter to the kernel command line.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/hardware/udev.nix
boot.initrd.availableKernelModules

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. The modules listed here are available in the initrd, but are only loaded on demand (e.g., the ext3 module is loaded automatically when an ext3 filesystem is mounted, and modules for PCI devices are loaded when they match the PCI ID of a device in your system). To force a module to be loaded, include it in boot.initrd.kernelModules.

Default: [ ]

Example: [ "sata_nv" "ext3" ]

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix

Defined by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
boot.initrd.checkJournalingFS

Whether to run fsck on journaling filesystems such as ext3.

Default: true

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-1.nix
boot.initrd.enableSplashScreen

Whether to show a nice splash screen while booting.

Default: true

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-1.nix
boot.initrd.extraKernelModules

Obsolete name of boot.initrd.kernelModules.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
boot.initrd.extraUtilsCommands

Shell commands to be executed in the builder of the extra-utils derivation. This can be used to provide additional utilities in the initial ramdisk.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-1.nix
boot.initrd.kernelModules

List of modules that are always loaded by the initrd.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
/etc/nixos/nixos/modules/rename.nix

Defined by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
boot.initrd.postDeviceCommands

Shell commands to be executed immediately after stage 1 of the boot has loaded kernel modules and created device nodes in /dev.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-1.nix
boot.initrd.postMountCommands

Shell commands to be executed immediately after the stage 1 filesystems have been mounted.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-1.nix
boot.kernelModules

The set of kernel modules to be loaded in the second stage of the boot process. Note that modules that are needed to mount the root file system should be added to boot.initrd.availableKernelModules or boot.initrd.kernelModules.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix

Defined by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
/etc/nixos/nixos/modules/hardware/pcmcia.nix
boot.kernelPackages

This option allows you to override the Linux kernel used by NixOS. Since things like external kernel module packages are tied to the kernel you're using, it also overrides those. This option is a function that takes Nixpkgs as an argument (as a convenience), and returns an attribute set containing at the very least an attribute kernel. Additional attributes may be needed depending on your configuration. For instance, if you use the NVIDIA X driver, then it also needs to contain an attribute nvidia_x11.

Default: { atheros = (build of atheros-0.9.4); aufs = (build of aufs-20090414-2.6.32.10); aufs2 = (build of aufs2-a5883982f82ce927b3cbd8fc9c8d05865fc43bd9-2.6.32.10); aufs2Utils = ; exmap = (build of exmap-0.10); ext3cowtools = (build of ext3cow-tools); iwlwifi = (build of iwlwifi-1.2.25-2.6.32.10); iwlwifi4965ucode = (build of iwlwifi-4965-ucode-228.57.2.21); kernel = (build of ); kqemu = (build of kqemu-1.4.0pre1); ndiswrapper = (build of ndiswrapper-1.53-stable); nvidia_x11 = (build of nvidia-x11-190.53-2.6.32.10); nvidia_x11_legacy = (build of nvidia-x11-96.43.14-2.6.32.10); openafsClient = (build of openafs-1.4.11-2.6.32.10); ov511 = (build of ov511-2.30); snix = (build of snix-0.12rev10946); splashutils = (build of splashutils-1.5.4.3); sysprof = (build of sysprof-1.0.10-2.6.32.10); virtualbox = (build of virtualbox-3.1.4-2.6.32.10); virtualboxGuestAdditions = (build of VirtualBox-GuestAdditions-3.1.4); wis_go7007 = (build of wis-go7007-0.9.8-2.6.32.10); }

Example: "pkgs.linuxPackages_2_6_25"

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
boot.kernelParams

The kernel parameters. If you want to add additional parameters, it's best to set boot.extraKernelParams.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix

Defined by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
boot.loader.generationsDir.copyKernels

Whether copy the necessary boot files into /boot, so /nix/store is not needed by the boot loadear.

Default: false

Declared by:

/etc/nixos/nixos/modules/installer/generations-dir/generations-dir.nix
boot.loader.generationsDir.enable

Whether to enable the simple preparation of symlinks to the system generations in /boot.

Default: false

Declared by:

/etc/nixos/nixos/modules/installer/generations-dir/generations-dir.nix
boot.loader.grub.bootDevice

Obsolete.

Default: ""

Declared by:

/etc/nixos/nixos/modules/rename.nix
/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.configurationLimit

Maximum of configurations in boot menu. GRUB has problems when there are too many entries.

Default: 100

Example: 120

Declared by:

/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.configurationName

GRUB entry name instead of default.

Default: ""

Example: "Stable 2.6.21"

Declared by:

/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.copyKernels

Whether the GRUB menu builder should copy kernels and initial ramdisks to /boot. This is done automatically if /boot is on a different partition than /.

Default: false

Declared by:

/etc/nixos/nixos/modules/rename.nix
/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.default

Index of the default menu item to be booted.

Default: 0

Declared by:

/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.device

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.

Default: ""

Example: "/dev/hda"

Declared by:

/etc/nixos/nixos/modules/rename.nix
/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.enable

Whether to enable the GNU GRUB boot loader.

Default: true

Declared by:

/etc/nixos/nixos/modules/installer/grub/grub.nix

Defined by:

/etc/nixos/nixos/modules/config/gnu.nix
boot.loader.grub.extraEntries

Any additional entries you want added to the GRUB boot menu.

Default: ""

Example: "title Windows\n chainloader (hd0,1)+1\n"

Declared by:

/etc/nixos/nixos/modules/rename.nix
/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.extraEntriesBeforeNixOS

Whether extraEntries are included before the default option.

Default: false

Declared by:

/etc/nixos/nixos/modules/rename.nix
/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.splashImage

Background image used for GRUB. It must be a 640x480, 14-colour image in XPM format, optionally compressed with gzip or bzip2. Set to null to run GRUB in text mode.

Default: (build of 36909-soft-tux.xpm.gz)

Example:

Declared by:

/etc/nixos/nixos/modules/rename.nix
/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.timeout

Timeout (in seconds) until GRUB boots the default menu item.

Default: 5

Declared by:

/etc/nixos/nixos/modules/installer/grub/grub.nix
boot.loader.grub.version

The version of GRUB to use: 1 for GRUB Legacy (versions 0.9x), or 2 for GRUB 2.

Default: 1

Example: 2

Declared by:

/etc/nixos/nixos/modules/installer/grub/grub.nix

Defined by:

/etc/nixos/nixos/modules/config/gnu.nix
boot.loader.initScript.enable

Some systems require a /sbin/init script which is started. Or having it makes starting NixOS easier. This applies to some kind of hosting services and user mode linux. Additionaly this script will create /boot/init-other-configurations-contents.txt containing contents of remaining configurations. You can copy paste them into /sbin/init manually running a recue system or such.

Default: false

Declared by:

/etc/nixos/nixos/modules/installer/init-script/init-script.nix
boot.postBootCommands

Shell commands to be executed just before Upstart is started.

Default: ""

Example: "rm -f /var/log/messages"

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-2.nix
boot.resumeDevice

Device for manual resume attempt during boot. Looks like major:minor. ls -l /dev/SWAP_PARTION shows them.

Default: ""

Example: "0:0"

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-1.nix
boot.vesa

Whether to activate VESA video mode on boot

Default: true

Example: false

Declared by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
environment.checkConfigurationOptions

Whether to check the validity of the entire configuration.

Default: true

Example: false

Declared by:

/etc/nixos/nixos/modules/misc/check-config.nix
environment.etc

List of files that have to be linked in /etc.

Default: [ ]

Example: [ { mode = "0440"; source = "/nix/store/.../etc/dir/file.conf.example"; target = "dir/file.conf"; } ]

Declared by:

/etc/nixos/nixos/modules/system/etc/etc.nix

Defined by:

/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix
/etc/nixos/nixos/modules/system/upstart/upstart.nix
/etc/nixos/nixos/modules/system/boot/modprobe.nix
/etc/nixos/nixos/modules/services/x11/xserver.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde4.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde.nix
/etc/nixos/nixos/modules/services/ttys/mingetty.nix
/etc/nixos/nixos/modules/services/system/dbus.nix
/etc/nixos/nixos/modules/services/scheduling/fcron.nix
/etc/nixos/nixos/modules/services/scheduling/cron.nix
/etc/nixos/nixos/modules/services/printing/cupsd.nix
/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/services/networking/gnunet.nix
/etc/nixos/nixos/modules/services/networking/dhclient.nix
/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
/etc/nixos/nixos/modules/services/network-filesystems/openafs-client/default.nix
/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
/etc/nixos/nixos/modules/services/monitoring/monit.nix
/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
/etc/nixos/nixos/modules/services/misc/autofs.nix
/etc/nixos/nixos/modules/services/mail/postfix.nix
/etc/nixos/nixos/modules/security/sudo.nix
/etc/nixos/nixos/modules/security/policykit.nix
/etc/nixos/nixos/modules/security/pam.nix
/etc/nixos/nixos/modules/security/consolekit.nix
/etc/nixos/nixos/modules/security/ca.nix
/etc/nixos/nixos/modules/programs/ssmtp.nix
/etc/nixos/nixos/modules/programs/ssh.nix
/etc/nixos/nixos/modules/programs/pwdutils/pwdutils.nix
/etc/nixos/nixos/modules/programs/bash/bash.nix
/etc/nixos/nixos/modules/config/unix-odbc-drivers.nix
/etc/nixos/nixos/modules/config/power-management.nix
/etc/nixos/nixos/modules/config/nsswitch.nix
/etc/nixos/nixos/modules/config/networking.nix
/etc/nixos/nixos/modules/config/ldap.nix
/etc/nixos/nixos/modules/config/krb5.nix
/etc/nixos/nixos/modules/config/fonts.nix
environment.extraPackages

Obsolete name of environment.systemPackages.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
environment.kdePackages

Additional KDE packages to be used when you use KDE as a desktop manager. By default, you only get the KDE base packages.

Default: [ ]

Example: [ (build of kdegames-4.4.1) ]

Declared by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/kde-environment.nix
/etc/nixos/nixos/modules/rename.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/kde4.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde.nix
environment.nix

This option specifies the Nix package instance to use throughout the system.

Default: (build of nix-0.15)

Example:

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
environment.noXlibs

Switch off the options in the default configuration that require X libraries. Currently this includes: sshd.forwardX11, dbus, hal, fonts.enableCoreFonts, fonts.enableFontConfig

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/config/no-x-libs.nix
environment.pathsToLink

Lists directories to be symlinked in `/var/run/current-system/sw'.

Default: [ "/bin" "/sbin" "/lib" "/share/man" "/share/info" "/man" "/info" ]

Example: [ "/" ]

Declared by:

/etc/nixos/nixos/modules/config/system-path.nix
environment.shellInit

Script used to initialized user shell environments.

Default: ""

Example: "export PATH=/godi/bin/:$PATH"

Declared by:

/etc/nixos/nixos/modules/programs/bash/bash.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/kde-environment.nix
/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
/etc/nixos/nixos/modules/security/ca.nix
/etc/nixos/nixos/modules/programs/info.nix
/etc/nixos/nixos/modules/config/timezone.nix
/etc/nixos/nixos/modules/config/nsswitch.nix
/etc/nixos/nixos/modules/config/i18n.nix
/etc/nixos/nixos/modules/config/fonts.nix
environment.systemPackages

The set of packages that appear in /var/run/current-system/sw. These packages are automatically available to all users, and are automatically updated every time you rebuild the system configuration. (The latter is the main difference with installing them in the default profile, /nix/var/nix/profiles/default.

Default: [ ]

Example: [ (build of firefox-3.5.8) (build of thunderbird-2.0.0.22) ]

Declared by:

/etc/nixos/nixos/modules/rename.nix
/etc/nixos/nixos/modules/config/system-path.nix

Defined by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
/etc/nixos/nixos/modules/tasks/lvm.nix
/etc/nixos/nixos/modules/tasks/kbd.nix
/etc/nixos/nixos/modules/tasks/filesystems.nix
/etc/nixos/nixos/modules/services/x11/xserver.nix
/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
/etc/nixos/nixos/modules/services/system/uptimed.nix
/etc/nixos/nixos/modules/services/system/dbus.nix
/etc/nixos/nixos/modules/services/scheduling/fcron.nix
/etc/nixos/nixos/modules/services/scheduling/cron.nix
/etc/nixos/nixos/modules/services/scheduling/atd.nix
/etc/nixos/nixos/modules/services/printing/cupsd.nix
/etc/nixos/nixos/modules/services/networking/wpa_supplicant.nix
/etc/nixos/nixos/modules/services/networking/wicd.nix
/etc/nixos/nixos/modules/services/networking/privoxy.nix
/etc/nixos/nixos/modules/services/networking/ifplugd.nix
/etc/nixos/nixos/modules/services/networking/gnunet.nix
/etc/nixos/nixos/modules/services/networking/firewall.nix
/etc/nixos/nixos/modules/services/networking/ejabberd.nix
/etc/nixos/nixos/modules/services/networking/ddclient.nix
/etc/nixos/nixos/modules/services/networking/dhclient.nix
/etc/nixos/nixos/modules/services/networking/bitlbee.nix
/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
/etc/nixos/nixos/modules/services/network-filesystems/openafs-client/default.nix
/etc/nixos/nixos/modules/services/monitoring/zabbix-agent.nix
/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
/etc/nixos/nixos/modules/services/misc/disnix.nix
/etc/nixos/nixos/modules/services/hardware/hal.nix
/etc/nixos/nixos/modules/services/databases/postgresql.nix
/etc/nixos/nixos/modules/services/databases/mysql.nix
/etc/nixos/nixos/modules/services/backup/sitecopy-backup.nix
/etc/nixos/nixos/modules/services/audio/pulseaudio.nix
/etc/nixos/nixos/modules/services/audio/alsa.nix
/etc/nixos/nixos/modules/security/sudo.nix
/etc/nixos/nixos/modules/security/policykit.nix
/etc/nixos/nixos/modules/security/pam_usb.nix
/etc/nixos/nixos/modules/security/pam.nix
/etc/nixos/nixos/modules/security/consolekit.nix
/etc/nixos/nixos/modules/programs/ssmtp.nix
/etc/nixos/nixos/modules/programs/info.nix
/etc/nixos/nixos/modules/misc/assertions.nix
/etc/nixos/nixos/modules/installer/tools/tools.nix
/etc/nixos/nixos/modules/installer/tools/nixos-checkout.nix
/etc/nixos/nixos/modules/installer/grub/grub.nix
/etc/nixos/nixos/modules/hardware/pcmcia.nix
/etc/nixos/nixos/modules/config/system-path.nix
/etc/nixos/nixos/modules/config/power-management.nix
/etc/nixos/nixos/modules/config/nsswitch.nix
/etc/nixos/nixos/modules/config/krb5.nix
/etc/nixos/nixos/modules/config/i18n.nix
/etc/nixos/nixos/modules/config/gnu.nix
/etc/nixos/nixos/modules/config/fonts.nix
environment.unixODBCDrivers

specifies unix odbc drivers to be registered at /etc/odbcinst.ini. Maybe you also want to add pkgs.unixODBC to the system path to get a command line client t connnect to odbc databases.

Default: [ ]

Example: "map (x : x.ini) (with pkgs.unixODBCDrivers; [ mysql psql psqlng ] )"

Declared by:

/etc/nixos/nixos/modules/config/unix-odbc-drivers.nix
environment.x11Packages

List of packages added to the system when the X server is activated (services.xserver.enable).

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/x11/xserver.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
/etc/nixos/nixos/modules/services/x11/window-managers/wmii.nix
/etc/nixos/nixos/modules/services/x11/window-managers/twm.nix
/etc/nixos/nixos/modules/services/x11/window-managers/metacity.nix
/etc/nixos/nixos/modules/services/x11/window-managers/kwm.nix
/etc/nixos/nixos/modules/services/x11/window-managers/icewm.nix
/etc/nixos/nixos/modules/services/x11/window-managers/compiz.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/xterm.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde4.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde-environment.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/gnome.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/default.nix
fileSystems

The file systems to be mounted. It must include an entry for the root directory (mountPoint = "/"). Each entry in the list is an attribute set with the following fields: mountPoint, device, fsType (a file system type recognised by mount; defaults to "auto"), and options (the mount options passed to mount using the -o flag; defaults to "defaults"). Instead of specifying device, you can also specify a volume label (label) for file systems that support it, such as ext2/ext3 (see mke2fs -L). autocreate forces mountPoint to be created with mkdir -p .

Default: none

Example: [ { device = "/dev/hda1"; mountPoint = "/"; } { device = "/dev/hda2"; fsType = "ext3"; mountPoint = "/data"; options = "data=journal"; } { label = "bigdisk"; mountPoint = "/bigdisk"; } ]

Declared by:

/etc/nixos/nixos/modules/tasks/filesystems.nix
/etc/nixos/nixos/modules/system/boot/stage-1.nix
fileSystems.*.autocreate

Automatically create the mount point defined in fileSystems.*.mountPoint.

Default: false

Declared by:

/etc/nixos/nixos/modules/tasks/filesystems.nix
fileSystems.*.device

Location of the device.

Default:

Example: "/dev/sda"

Declared by:

/etc/nixos/nixos/modules/tasks/filesystems.nix
fileSystems.*.fsType

Type of the file system.

Default: "auto"

Example: "ext3"

Declared by:

/etc/nixos/nixos/modules/tasks/filesystems.nix
fileSystems.*.label

Label of the device (if any).

Default:

Example: "root-partition"

Declared by:

/etc/nixos/nixos/modules/tasks/filesystems.nix
fileSystems.*.mountPoint

Location of the mounted the file system.

Default: none

Example: "/mnt/usb"

Declared by:

/etc/nixos/nixos/modules/tasks/filesystems.nix
fileSystems.*.neededForBoot

Mount this file system to boot on NixOS.

Default: false

Declared by:

/etc/nixos/nixos/modules/system/boot/stage-1.nix
fileSystems.*.options

Option used to mount the file system.

Default: "defaults,relatime"

Example: "data=journal"

Declared by:

/etc/nixos/nixos/modules/tasks/filesystems.nix
fonts.enableCoreFonts

Whether to include Microsoft's proprietary Core Fonts. These fonts are redistributable, but only verbatim, among other restrictions. See http://corefonts.sourceforge.net/eula.htm for details.

Default: false

Declared by:

/etc/nixos/nixos/modules/config/fonts.nix

Defined by:

/etc/nixos/nixos/modules/config/no-x-libs.nix
fonts.enableFontConfig

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.

Default: true

Declared by:

/etc/nixos/nixos/modules/config/fonts.nix

Defined by:

/etc/nixos/nixos/modules/config/no-x-libs.nix
fonts.enableFontDir

Whether to create a directory with links to all fonts in share - so user can configure vncserver script one time (I mean per-user vncserver, so global service is not a good solution).

Default: false

Declared by:

/etc/nixos/nixos/modules/config/fonts.nix
fonts.enableGhostscriptFonts

Whether to add the fonts provided by Ghostscript (such as various URW fonts and the ``Base-14'' Postscript fonts) to the list of system fonts, making them available to X11 applications.

Default: false

Declared by:

/etc/nixos/nixos/modules/config/fonts.nix
fonts.extraFonts

List of additional fonts.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/config/fonts.nix
fonts.fonts

List of primary font paths.

Default: [ "~/.fonts" "~/.nix-profile/lib/X11/fonts" "~/.nix-profile/share/fonts" "/nix/var/nix/profiles/default/lib/X11/fonts" "/nix/var/nix/profiles/default/share/fonts" ]

Declared by:

/etc/nixos/nixos/modules/config/fonts.nix
gnu

When enable, GNU software is chosent by default whenever a there is a choice between GNU and non-GNU software (e.g., GNU lsh vs. OpenSSH).

Default: false

Declared by:

/etc/nixos/nixos/modules/config/gnu.nix
hardware.firmware

List of directories containing firmware files. Such files will be loaded automatically if the kernel asks for them (i.e., when it has detected specific hardware that requires firmware to function).

Default: [ ]

Example: [ "/root/my-firmware" ]

Declared by:

/etc/nixos/nixos/modules/services/hardware/udev.nix

Defined by:

/etc/nixos/nixos/modules/system/boot/kernel.nix
/etc/nixos/nixos/modules/services/hardware/udev.nix
/etc/nixos/nixos/modules/hardware/network/rt73.nix
/etc/nixos/nixos/modules/hardware/network/intel-3945abg.nix
/etc/nixos/nixos/modules/hardware/network/intel-2200bg.nix
hardware.pcmcia.config

Path to the configuration file which map the memory, irq and ports used by the PCMCIA hardware.

Default:

Declared by:

/etc/nixos/nixos/modules/hardware/pcmcia.nix
hardware.pcmcia.enable

Enable this option to support PCMCIA card.

Default: false

Declared by:

/etc/nixos/nixos/modules/hardware/pcmcia.nix
hardware.pcmcia.firmware

List of firmware used to handle specific PCMCIA card.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/hardware/pcmcia.nix
i18n.consoleFont

The font used for the virtual consoles. Leave empty to use whatever the setfont program considers the default font.

Default: "lat9w-16"

Example: "LatArCyrHeb-16"

Declared by:

/etc/nixos/nixos/modules/config/i18n.nix
i18n.consoleKeyMap

The keyboard mapping table for the virtual consoles.

Default: "us"

Example: "fr"

Declared by:

/etc/nixos/nixos/modules/config/i18n.nix
i18n.defaultLocale

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.

Default: "en_US.UTF-8"

Example: "nl_NL.UTF-8"

Declared by:

/etc/nixos/nixos/modules/config/i18n.nix
i18n.supportedLocales

List of locales that the system should support. The value "all" means that all locales supported by Glibc will be installed. A full list of supported locales can be found at http://sourceware.org/cgi-bin/cvsweb.cgi/libc/localedata/SUPPORTED?cvsroot=glibc.

Default: [ "all" ]

Example: [ "en_US.UTF-8/UTF-8" "nl_NL.UTF-8/UTF-8" "nl_NL/ISO-8859-1" ]

Declared by:

/etc/nixos/nixos/modules/config/i18n.nix
ids.gids

The group IDs used in NixOS.

Default: none

Declared by:

/etc/nixos/nixos/modules/misc/ids.nix

Defined by:

/etc/nixos/nixos/modules/misc/ids.nix
ids.uids

The user IDs used in NixOS.

Default: none

Declared by:

/etc/nixos/nixos/modules/misc/ids.nix

Defined by:

/etc/nixos/nixos/modules/misc/ids.nix
installer.manifests

URLs of manifests to be downloaded when you run nixos-rebuild to speed up builds.

Default: [ "http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/MANIFEST" ]

Example: [ "http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/MANIFEST" "http://nixos.org/releases/nixpkgs/channels/nixpkgs-stable/MANIFEST" ]

Declared by:

/etc/nixos/nixos/modules/installer/tools/tools.nix
installer.nixpkgsURL

URL of the Nixpkgs distribution to use when building the installation CD.

Default: ""

Example: "http://nixos.org/releases/nix/nixpkgs-0.11pre7577"

Declared by:

/etc/nixos/nixos/modules/installer/tools/tools.nix
installer.repoTypes

Defines, for each supported version control system (e.g. git), the dependencies for the mechanism, as well as a test used to determine whether a directory is a checkout created by that version control system.

Default: { git = { env = [ (build of ) (build of ) (build of ) ] ; valid = "[ -d .git ]"; } ; svn = { env = [ (build of ) (build of subversion-1.6.9) ] ; valid = "[ -d .svn ]"; } ; }

Declared by:

/etc/nixos/nixos/modules/installer/tools/nixos-checkout.nix
installer.repos.nixos

The NixOS repository from which the system will be built. nixos-checkout will update all working copies of the given repositories, nixos-rebuild will use the first item which has the attribute default = true falling back to the first item. The type defines the repository tool added to the path. It also defines a "valid" repository. If the target directory already exists and it's not valid it will be moved to the backup location dir-date. For svn the default target and repositories are /etc/nixos/nixos and https://svn.nixos.org/repos/nix/nixos/trunk. For git repositories update is called after initialization when the repo is initialized. The initialize code is run from working directory dirname target and should create the directory dir. For the executables used see repoTypes.

Default: [ { type = "svn"; } ]

Example: [ { target = "/etc/nixos/nixos-stdenv-updates"; type = "svn"; url = "https://svn.nixos.org/repos/nix/nixos/branches/stdenv-updates"; } { initialize = "git clone git://mawercer.de/nixos $target"; target = "/etc/nixos/nixos-git"; type = "git"; update = "git pull origin"; } ]

Declared by:

/etc/nixos/nixos/modules/installer/tools/nixos-checkout.nix
installer.repos.nixpkgs

same as repos.nixos

Default: [ { type = "svn"; } ]

Declared by:

/etc/nixos/nixos/modules/installer/tools/nixos-checkout.nix
jobs

This option defines the system jobs started and managed by the Upstart daemon.

Default: { }

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix

Defined by:

/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix
/etc/nixos/nixos/modules/tasks/swraid.nix
/etc/nixos/nixos/modules/tasks/swap.nix
/etc/nixos/nixos/modules/tasks/network-interfaces.nix
/etc/nixos/nixos/modules/tasks/lvm.nix
/etc/nixos/nixos/modules/tasks/kbd.nix
/etc/nixos/nixos/modules/tasks/filesystems.nix
/etc/nixos/nixos/modules/system/upstart-events/shutdown.nix
/etc/nixos/nixos/modules/system/upstart-events/runlevel.nix
/etc/nixos/nixos/modules/system/upstart-events/control-alt-delete.nix
/etc/nixos/nixos/modules/services/x11/xserver.nix
/etc/nixos/nixos/modules/services/x11/xfs.nix
/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
/etc/nixos/nixos/modules/services/web-servers/jboss.nix
/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
/etc/nixos/nixos/modules/services/ttys/mingetty.nix
/etc/nixos/nixos/modules/services/ttys/gpm.nix
/etc/nixos/nixos/modules/services/system/uptimed.nix
/etc/nixos/nixos/modules/services/system/nscd.nix
/etc/nixos/nixos/modules/services/system/dbus.nix
/etc/nixos/nixos/modules/services/scheduling/fcron.nix
/etc/nixos/nixos/modules/services/scheduling/cron.nix
/etc/nixos/nixos/modules/services/scheduling/atd.nix
/etc/nixos/nixos/modules/services/printing/cupsd.nix
/etc/nixos/nixos/modules/services/networking/xinetd.nix
/etc/nixos/nixos/modules/services/networking/wpa_supplicant.nix
/etc/nixos/nixos/modules/services/networking/wicd.nix
/etc/nixos/nixos/modules/services/networking/vsftpd.nix
/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
/etc/nixos/nixos/modules/services/networking/privoxy.nix
/etc/nixos/nixos/modules/services/networking/portmap.nix
/etc/nixos/nixos/modules/services/networking/openvpn.nix
/etc/nixos/nixos/modules/services/networking/openfire.nix
/etc/nixos/nixos/modules/services/networking/ntpd.nix
/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
/etc/nixos/nixos/modules/services/networking/ifplugd.nix
/etc/nixos/nixos/modules/services/networking/gw6c.nix
/etc/nixos/nixos/modules/services/networking/gvpe.nix
/etc/nixos/nixos/modules/services/networking/gnunet.nix
/etc/nixos/nixos/modules/services/networking/firewall.nix
/etc/nixos/nixos/modules/services/networking/ejabberd.nix
/etc/nixos/nixos/modules/services/networking/dhcpd.nix
/etc/nixos/nixos/modules/services/networking/ddclient.nix
/etc/nixos/nixos/modules/services/networking/dhclient.nix
/etc/nixos/nixos/modules/services/networking/bitlbee.nix
/etc/nixos/nixos/modules/services/networking/bind.nix
/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
/etc/nixos/nixos/modules/services/network-filesystems/openafs-client/default.nix
/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
/etc/nixos/nixos/modules/services/monitoring/zabbix-server.nix
/etc/nixos/nixos/modules/services/monitoring/zabbix-agent.nix
/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
/etc/nixos/nixos/modules/services/monitoring/monit.nix
/etc/nixos/nixos/modules/services/misc/synergy.nix
/etc/nixos/nixos/modules/services/misc/rogue.nix
/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
/etc/nixos/nixos/modules/services/misc/gpsd.nix
/etc/nixos/nixos/modules/services/misc/disnix.nix
/etc/nixos/nixos/modules/services/misc/autofs.nix
/etc/nixos/nixos/modules/services/mail/postfix.nix
/etc/nixos/nixos/modules/services/mail/dovecot.nix
/etc/nixos/nixos/modules/services/logging/syslogd.nix
/etc/nixos/nixos/modules/services/logging/klogd.nix
/etc/nixos/nixos/modules/services/hardware/udev.nix
/etc/nixos/nixos/modules/services/hardware/pcscd.nix
/etc/nixos/nixos/modules/services/hardware/hal.nix
/etc/nixos/nixos/modules/services/hardware/acpid.nix
/etc/nixos/nixos/modules/services/databases/postgresql.nix
/etc/nixos/nixos/modules/services/databases/mysql.nix
/etc/nixos/nixos/modules/services/audio/pulseaudio.nix
/etc/nixos/nixos/modules/services/audio/alsa.nix
jobs.<name>.buildHook

Command run while building the Upstart job. Can be used to perform simple regression tests (e.g., the Apache Upstart job uses it to check the syntax of the generated httpd.conf.

Default: "true"

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.daemonType

Determines how Upstart detects when a daemon should be considered “running”. The value none means that the daemon is considered ready immediately. The value fork means that the daemon will fork once. The value daemon means that the daemon will fork twice. The value stop means that the daemon will raise the SIGSTOP signal to indicate readiness.

Default: "none"

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.description

A short description of this job.

Default: "(no description given)"

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.environment

Environment variables passed to the job's processes.

Default: { }

Example: { LANG = "nl_NL.UTF-8"; PATH = "/foo/bar/bin"; }

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.exec

Command to start the job's main process. If empty, the job has no main process, but can still have pre/post-start and pre/post-stop scripts, and is considered “running” until it is stopped.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.extraConfig

Additional Upstart stanzas not otherwise supported.

Default: ""

Example: "limit nofile 4096 4096"

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.jobDrv

Derivation that builds the Upstart job file. The default value is generated from other options.

Default: (build of upstart-_name_.conf)

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.name

Name of the Upstart job.

Default: none

Example: "sshd"

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix

Defined by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.postStart

Shell commands executed after the job is started (i.e. after the job's main process is started), but before the job is considered “running”.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.postStop

Shell commands executed after the job has stopped (i.e. after the job's main process has terminated).

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.preStart

Shell commands executed before the job is started (i.e. before the job's main process is started).

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.preStop

Shell commands executed before the job is stopped (i.e. before Upstart kills the job's main process). This can be used to cleanly shut down a daemon.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.respawn

Whether to restart the job automatically if its process ends unexpectedly.

Default: true

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.script

Shell commands executed as the job's main process. Can be specified instead of the exec attribute.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.startOn

The Upstart event that triggers this job to be started. If empty, the job will not start automatically.

Default: ""

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.stopOn

The Upstart event that triggers this job to be stopped.

Default: "shutdown"

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
jobs.<name>.task

Whether this job is a task rather than a service. Tasks are executed only once, while services are restarted when they exit.

Default: false

Declared by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
kde.extraPackages

Deprecated name of environment.kdePackages.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
krb5.defaultRealm

Default realm.

Default: "ATENA.MIT.EDU"

Declared by:

/etc/nixos/nixos/modules/config/krb5.nix
krb5.enable

Whether to enable Kerberos V.

Default: false

Declared by:

/etc/nixos/nixos/modules/config/krb5.nix
krb5.kdc

Kerberos Domain Controller

Default: "kerberos.mit.edu"

Declared by:

/etc/nixos/nixos/modules/config/krb5.nix
krb5.kerberosAdminServer

Kerberos Admin Server

Default: "kerberos.mit.edu"

Declared by:

/etc/nixos/nixos/modules/config/krb5.nix
nesting.children

Additional configurations to build.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/system/activation/top-level.nix
networking.WLANInterface

The interface wpa_supplicant will use, if enableWLAN is enabled.

Default: "wlan0"

Declared by:

/etc/nixos/nixos/modules/services/networking/wpa_supplicant.nix
networking.defaultGateway

The default gateway. It can be left empty if it is auto-detected through DHCP.

Default: ""

Example: "131.211.84.1"

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.defaultMailServer.directDelivery

Use the trivial Mail Transfer Agent (MTA) ssmtp package to allow programs to send e-mail. If you don't want to run a ``real'' MTA like sendmail or postfix on your machine, set this option to true, and set the option networking.defaultMailServer.hostName to the host name of your preferred mail server.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/programs/ssmtp.nix
networking.defaultMailServer.domain

The domain from which mail will appear to be sent.

Default: ""

Example: "example.org"

Declared by:

/etc/nixos/nixos/modules/programs/ssmtp.nix
networking.defaultMailServer.hostName

The host name of the default mail server to use to deliver e-mail.

Default: none

Example: "mail.example.org"

Declared by:

/etc/nixos/nixos/modules/programs/ssmtp.nix
networking.defaultMailServer.useSTARTTLS

Whether the STARTTLS should be used to connect to the default mail server. (This is needed for TLS-capable mail servers running on the default SMTP port 25.)

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/programs/ssmtp.nix
networking.defaultMailServer.useTLS

Whether TLS should be used to connect to the default mail server.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/programs/ssmtp.nix
networking.domain

The domain. It can be left empty if it is auto-detected through DHCP.

Default: ""

Example: "home"

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.enableIntel2200BGFirmware

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 http://ipw2200.sourceforge.net/firmware.php?fid=7.

Default: false

Declared by:

/etc/nixos/nixos/modules/hardware/network/intel-2200bg.nix
networking.enableIntel3945ABGFirmware

This option enables automatic loading of the firmware for the Intel PRO/Wireless 3945ABG.

Default: false

Declared by:

/etc/nixos/nixos/modules/hardware/network/intel-3945abg.nix
networking.enableRT73Firmware

Turn on this option if you want firmware for the RT73 NIC

Default: false

Declared by:

/etc/nixos/nixos/modules/hardware/network/rt73.nix
networking.enableWLAN

Whether to start wpa_supplicant to scan for and associate with wireless networks. Note: NixOS currently does not generate wpa_supplicant's configuration file, /etc/wpa_supplicant.conf. You should edit this file yourself to define wireless networks, WPA keys and so on (see wpa_supplicant.conf(5)).

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/wpa_supplicant.nix
networking.extraHosts

Additional entries to be appended to /etc/hosts.

Default: ""

Example: "192.168.0.1 lanlocalhost"

Declared by:

/etc/nixos/nixos/modules/config/networking.nix
networking.firewall.allowedTCPPorts

List of TCP ports on which incoming connections are accepted.

Default: [ ]

Example: [ 22 80 ]

Declared by:

/etc/nixos/nixos/modules/services/networking/firewall.nix

Defined by:

/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
networking.firewall.enable

Whether to enable the firewall.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/firewall.nix
networking.firewall.logRefusedConnections

Whether to log rejected or dropped incoming connections.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/firewall.nix
networking.firewall.logRefusedPackets

Whether to log all rejected or dropped incoming packets. This tends to give a lot of log messages, so it's mostly useful for debugging.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/firewall.nix
networking.firewall.rejectPackets

If set, forbidden packets are rejected rather than dropped (ignored). This means that a ICMP "port unreachable" error message is sent back to the client. Rejecting packets makes port scanning somewhat easier.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/firewall.nix
networking.hostName

The name of the machine. Leave it empty if you want to obtain it from a DHCP server (if using DHCP).

Default: "nixos"

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.interfaceMonitor.beep

If true, beep when an Ethernet cable is plugged in or unplugged.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ifplugd.nix
networking.interfaceMonitor.enable

If true, monitor 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).

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ifplugd.nix
networking.interfaces

The configuration for each network interface. If networking.useDHCP is true, then every interface not listed here will be configured using DHCP.

Default: [ ]

Example: [ { ipAddress = "131.211.84.78"; name = "eth0"; subnetMask = "255.255.255.128"; } ]

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.interfaces.*.ipAddress

IP address of the interface. Leave empty to configure the interface using DHCP.

Default: ""

Example: "10.0.0.1"

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.interfaces.*.name

Name of the interface.

Default: none

Example: "eth0"

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.interfaces.*.subnetMask

Subnet mask of the interface. Leave empty to use the default subnet mask.

Default: ""

Example: "255.255.255.0"

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.localCommands

Shell commands to be executed at the end of the network-interfaces Upstart job. Note that if you are using DHCP to obtain the network configuration, interfaces may not be fully configured yet.

Default: ""

Example: "text=anything; echo You can put $text here."

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.nameservers

The list of nameservers. It can be left empty if it is auto-detected through DHCP.

Default: [ ]

Example: [ "130.161.158.4" "130.161.33.17" ]

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.nativeIPv6

Whether to use IPv6 even though gw6c is not used. For example, for Postfix.

Default: false

Declared by:

/etc/nixos/nixos/modules/tasks/network-interfaces.nix
networking.useDHCP

Whether to use DHCP to obtain an IP adress and other configuration for all network interfaces that are not manually configured.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/dhclient.nix
networking.wicd.enable

Whether to start wicd. Wired and wireless network configurations can then be managed by wicd-client.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/wicd.nix
nix.buildMachines

This option lists the machines to be used if distributed builds are enabled (see nix.distributedBuilds). Nix will perform derivations on those machines via SSh by copying the inputs to the Nix store on the remote machine, starting the build, then copying the output back to the local Nix store. Each element of the list should be an attribute set containing the machine's host name (hostname), the user name to be used for the SSH connection (sshUser), the Nix system type (system, e.g., "i686-linux"), the maximum number of jobs to be run in parallel on that machine (maxJobs), and the path to the SSH private key to be used to connect (sshKey). The SSH private key should not have a passphrase, and the corresponding public key should be added to ~sshUser/authorized_keys on the remote machine.

Default: none

Example: [ { hostName = "voila.labs.cs.uu.nl"; maxJobs = 1; sshKey = "/root/.ssh/id_buildfarm"; sshUser = "nix"; system = "powerpc-darwin"; } { hostName = "linux64.example.org"; maxJobs = 2; sshKey = "/root/.ssh/id_buildfarm"; sshUser = "buildfarm"; system = "x86_64-linux"; } ]

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.daemonIONiceLevel

Nix daemon process I/O priority. This priority propagates to build processes. 0 is the default Unix process I/O priority, 7 is the lowest.

Default: 7

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.daemonNiceLevel

Nix daemon process priority. This priority propagates to build processes. 0 is the default Unix process priority, 20 is the lowest.

Default: 10

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.distributedBuilds

Whether to distribute builds to the machines listed in nix.buildMachines.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.envVars

Environment variables used by Nix.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix

Defined by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.extraOptions

This option allows to append lines to nix.conf.

Default: ""

Example: "\n gc-keep-outputs = true\n gc-keep-derivations = true\n "

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.gc.automatic

Automatically run the garbage collector at specified dates.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-gc.nix
nix.gc.dates

Run the garbage collector at specified dates to avoid full hard-drives.

Default: "15 03 * * *"

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-gc.nix
nix.gc.options

Options given to nix-collect-garbage when the garbage collector is run automatically.

Default: ""

Example: "--max-freed $((64 * 1024**3))"

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-gc.nix
nix.manualNixMachines

Whether to manually manage the list of buildmachines used in distributed builds in /etc/nix.machines.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.maxJobs

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).

Default: 1

Example: 2

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.nrBuildUsers

Number of nixbld user accounts created to perform secure concurrent builds. If you receive an error message saying that “all build users are currently in use”, you should increase this value.

Default: 10

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.proxy

This option specifies the proxy to use for fetchurl. The real effect is just exporting http_proxy, https_proxy and ftp_proxy with that value.

Default: ""

Example: "http://127.0.0.1:3128"

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nix.useChroot

If set, Nix will perform builds in a chroot-environment that it will set up automatically for each build. This prevents impurities in builds by disallowing access to dependencies outside of the Nix store.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/services/misc/nix-daemon.nix
nixpkgs.config

The configuration of the Nix Packages collection.

Default: { }

Example: { firefox = { enableGeckoMediaPlayer = true; } ; }

Declared by:

/etc/nixos/nixos/modules/misc/nixpkgs.nix
nixpkgs.platform

The platform for the Nix Packages collection.

Default: { kernelArch = "i386"; kernelAutoModules = true; kernelBaseConfig = "defconfig"; kernelExtraConfig = "# Virtualisation (KVM, Xen...).\nPARAVIRT_GUEST y\nKVM_CLOCK y\nKVM_GUEST y\nXEN y\nKSM y\n\n# We need 64 GB (PAE) support for Xen guest support.\nHIGHMEM64G? y\n"; kernelHeadersBaseConfig = "defconfig"; kernelTarget = "bzImage"; name = "pc"; uboot = ; }

Declared by:

/etc/nixos/nixos/modules/misc/nixpkgs.nix
passthru

This attribute set will be exported as a system attribute. You can put whatever you want here.

Default: none

Declared by:

/etc/nixos/nixos/modules/misc/passthru.nix
powerManagement.enable

Whether to enable power management. This includes support for suspend-to-RAM and powersave features on laptops.

Default: false

Declared by:

/etc/nixos/nixos/modules/config/power-management.nix
powerManagement.powerUpCommands

Commands executed when the machine powers up. That is, they're executed both when the system first boots and when it resumes from suspend or hibernation.

Default: ""

Example: "/nix/store/sa5p827x18z9r6pszxgxzzcmq1ksaskh-hdparm-8.7/sbin/hdparm -B 255 /dev/sda"

Declared by:

/etc/nixos/nixos/modules/config/power-management.nix
powerManagement.resumeCommands

Commands executed after the system resumes from suspend-to-RAM.

Default: ""

Declared by:

/etc/nixos/nixos/modules/config/power-management.nix

Defined by:

/etc/nixos/nixos/modules/services/networking/dhclient.nix
requiredTTYs

FIXME: find another place for this option. FIXME: find a good description.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/tasks/kbd.nix

Defined by:

/etc/nixos/nixos/modules/tasks/kbd.nix
security.extraSetuidPrograms

This option lists additional programs that must be made setuid root.

Default: [ ]

Example: [ "fusermount" ]

Declared by:

/etc/nixos/nixos/modules/security/setuid-wrappers.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/kde.nix
/etc/nixos/nixos/modules/security/sudo.nix
security.pam.loginLimits

Define resource limits that should apply to users or groups for the login service. Each item in the list should be an attribute set with a domain, type, item, and value attribute. The syntax and semantics of these attributes must be that described in the limits.conf(5) man page.

Default: [ ]

Example: [ { domain = "ftp"; item = "nproc"; type = "hard"; value = "0"; } { domain = "@student"; item = "maxlogins"; type = "-"; value = "4"; } ]

Declared by:

/etc/nixos/nixos/modules/security/pam.nix
security.pam.services

This option defines the PAM services. A service typically corresponds to a program that uses PAM, e.g. login or passwd. Each element of this list is an attribute set describing a service. The attribute name specifies the name of the service. The attribute rootOK specifies whether the root user is allowed to use this service without authentication. The attribute ownDevices specifies whether ConsoleKit's PAM connector module should be used to give the user ownership of devices such as audio and CD-ROM drives. The attribute forwardXAuth specifies whether X authentication keys should be passed from the calling user to the target user (e.g. for su). The attribute limits defines resource limits that should apply to users or groups for the service. Each item in the list should be an attribute set with a domain, type, item, and value attribute. The syntax and semantics of these attributes must be that described in the limits.conf(5) man page.

Default: [ ]

Example: [ { name = "chsh"; rootOK = true; } { allowNullPassword = true; limits = [ { domain = "ftp"; item = "nproc"; type = "hard"; value = "0"; } ] ; name = "login"; ownDevices = true; } ]

Declared by:

/etc/nixos/nixos/modules/security/pam.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/display-managers/slim.nix
/etc/nixos/nixos/modules/services/x11/display-managers/kdm.nix
/etc/nixos/nixos/modules/services/scheduling/atd.nix
/etc/nixos/nixos/modules/services/mail/dovecot.nix
/etc/nixos/nixos/modules/security/sudo.nix
/etc/nixos/nixos/modules/security/policykit.nix
/etc/nixos/nixos/modules/security/pam.nix
security.pam.usb.enable

Enable USB login for all login system unless the service disabled it. For more information, visit http://pamusb.org/doc/quickstart#setting_up.

Default: false

Declared by:

/etc/nixos/nixos/modules/security/pam_usb.nix
security.seccureKeys.private

Private key. Make it string argument, so it is not copied into store.

Default: "/var/elliptic-keys/private"

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
security.seccureKeys.public

Public key. Make it path argument, so it is copied into store and hashed. The key is used to encrypt Gateway 6 configuration in store, as it contains a password for external service. Unfortunately, derivation file should be protected by other means. For example, nix-http-export.cgi will happily export any non-derivation path, but not a derivation.

Default:

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
security.setuidOwners

This option allows the ownership and permissions on the setuid wrappers for specific programs to be overriden from the default (setuid root, but not setgid root).

Default: [ ]

Example: [ { group = "postdrop"; owner = "nobody"; program = "sendmail"; setgid = true; setuid = false; } ]

Declared by:

/etc/nixos/nixos/modules/security/setuid-wrappers.nix

Defined by:

/etc/nixos/nixos/modules/services/system/dbus.nix
/etc/nixos/nixos/modules/services/scheduling/atd.nix
security.setuidPrograms

Only the programs from system path listed here will be made setuid root (through a wrapper program).

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/security/setuid-wrappers.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/kde4.nix
/etc/nixos/nixos/modules/security/setuid-wrappers.nix
/etc/nixos/nixos/modules/security/pam_usb.nix
security.sudo.configFile

This string contains the contents of the sudoers file.

Default: "# Don't edit this file. Set nixos option security.sudo.configFile instead\n\n# \"root\" is allowed to do anything.\nroot ALL=(ALL) SETENV: ALL\n\n# Users in the \"wheel\" group can do anything.\n%wheel ALL=(ALL) SETENV: ALL\n"

Declared by:

/etc/nixos/nixos/modules/security/sudo.nix
security.sudo.enable

Whether to enable the sudo command, which allows non-root users to execute commands as root.

Default: true

Declared by:

/etc/nixos/nixos/modules/security/sudo.nix
security.wrapperDir

This option defines the path to the setuid wrappers. It should generally not be overriden.

Default: "/var/setuid-wrappers"

Declared by:

/etc/nixos/nixos/modules/security/setuid-wrappers.nix
services.acpid.enable

Whether to enable the ACPI daemon.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/hardware/acpid.nix

Defined by:

/etc/nixos/nixos/modules/config/power-management.nix
services.atd.allowEveryone

Whether to make /var/spool/at{jobs,spool} writeable by everyone (and sticky). This is normally not needed since the `at' commands are setuid/setgid `atd'.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/scheduling/atd.nix
services.atd.enable

Whether to enable the `at' daemon, a command scheduler.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/scheduling/atd.nix
services.autofs.autoMaster

file contents of /etc/auto.master. See man auto.master See man 5 auto.master and man 5 autofs.

Default: none

Example: "autoMaster = let\n mapConf = pkgs.writeText \"auto\" ''\n kernel -ro,soft,intr ftp.kernel.org:/pub/linux\n boot -fstype=ext2 :/dev/hda1\n windoze -fstype=smbfs ://windoze/c\n removable -fstype=ext2 :/dev/hdd\n cd -fstype=iso9660,ro :/dev/hdc\n floppy -fstype=auto :/dev/fd0\n server -rw,hard,intr / -ro myserver.me.org:/ \\\n /usr myserver.me.org:/usr \\\n /home myserver.me.org:/home\n '';\nin ''\n /auto file:${mapConf}\n''\n"

Declared by:

/etc/nixos/nixos/modules/services/misc/autofs.nix
services.autofs.debug

pass -d and -7 to automount and write log to /var/log/autofs

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/autofs.nix
services.autofs.enable

Mount filesystems on demand. Unmount them automatically. You may also be interested in afuese.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/autofs.nix
services.autofs.kernelModules

kernel modules to load

Default: [ "fuse" ]

Declared by:

/etc/nixos/nixos/modules/services/misc/autofs.nix
services.autofs.timeout

Set the global minimum timeout, in seconds, until directories are unmounted

Default: 600

Declared by:

/etc/nixos/nixos/modules/services/misc/autofs.nix
services.avahi.browseDomains

List of non-local DNS domains to be browsed.

Default: [ "0pointer.de" "zeroconf.org" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.avahi.enable

Whether to run the Avahi daemon, which allows Avahi clients to use Avahi's service discovery facilities and also allows the local machine to advertise its presence and services (through the mDNS responder implemented by `avahi-daemon').

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.avahi.hostName

Host name advertised on the LAN.

Default: "nixos"

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.avahi.ipv4

Whether to use IPv4

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.avahi.ipv6

Whether to use IPv6

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.avahi.nssmdns

Whether to enable the mDNS NSS (Name Service Switch) plug-in. Enabling it allows applications to resolve names in the `.local' domain by transparently querying the Avahi daemon. Warning: Currently, enabling this option breaks DNS lookups after a `nixos-rebuild'. This is because `/etc/nsswitch.conf' is updated to use `nss-mdns' but `libnss_mdns' is not in applications' `LD_LIBRARY_PATH'. The next time `/etc/profile' is sourced, it will set up an appropriate `LD_LIBRARY_PATH', though.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.avahi.publishing

Whether to allow publishing.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.avahi.wideArea

Whether to enable wide-area service discovery.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
services.bind.blockedNetworks

What networks are just blocked.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/networking/bind.nix
services.bind.cacheNetworks

What networks are allowed to use us as a resolver.

Default: [ "127.0.0.0/24" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/bind.nix
services.bind.enable

Whether to enable BIND domain name server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/bind.nix
services.bind.zones

List of zones we claim authority over. master=false means slave server; slaves means addresses who may request zone transfer.

Default: [ ]

Example: [ { file = "/var/dns/example.com"; master = false; masters = [ "192.168.0.1" ] ; name = "example.com"; slaves = [ ] ; } ]

Declared by:

/etc/nixos/nixos/modules/services/networking/bind.nix
services.bitlbee.enable

Whether to run the BitlBee IRC to other chat network gateway. Running it allows you to access the MSN, Jabber, Yahoo! and ICQ chat networks via an IRC client.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/bitlbee.nix
services.bitlbee.interface

The interface the BitlBee deamon will be listening to. If `127.0.0.1', only clients on the local host can connect to it; if `0.0.0.0', clients can access it from any network interface.

Default: "127.0.0.1"

Declared by:

/etc/nixos/nixos/modules/services/networking/bitlbee.nix
services.bitlbee.portNumber

Number of the port BitlBee will be listening to.

Default: 6667

Declared by:

/etc/nixos/nixos/modules/services/networking/bitlbee.nix
services.cron.mailto

The job output will be mailed to this email address.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/scheduling/cron.nix
services.cron.systemCronJobs

A list of Cron jobs to be appended to the system-wide crontab. See the manual page for crontab for the expected format. If you want to get the results mailed you must setuid sendmail. See security.setuidOwners If neither /var/cron/cron.deny nor /var/cron/cron.allow exist only root will is allowed to have its own crontab file. The /var/cron/cron.deny file is created automatically for you. So every user can use a crontab.

Default: [ ]

Example: [ "* * * * * test ls -l / > /tmp/cronout 2>&1" "* * * * * eelco echo Hello World > /home/eelco/cronout" ]

Declared by:

/etc/nixos/nixos/modules/services/scheduling/cron.nix

Defined by:

/etc/nixos/nixos/modules/services/monitoring/systemhealth.nix
/etc/nixos/nixos/modules/services/misc/nix-gc.nix
/etc/nixos/nixos/modules/services/backup/sitecopy-backup.nix
/etc/nixos/nixos/modules/services/backup/postgresql-backup.nix
/etc/nixos/nixos/modules/services/backup/mysql-backup.nix
/etc/nixos/nixos/modules/misc/locate.nix
services.dbus.enable

Whether to start the D-Bus message bus daemon, which is required by many other system services and applications.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/system/dbus.nix

Defined by:

/etc/nixos/nixos/modules/services/networking/wicd.nix
/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
/etc/nixos/nixos/modules/services/misc/disnix.nix
/etc/nixos/nixos/modules/services/hardware/hal.nix
/etc/nixos/nixos/modules/config/no-x-libs.nix
services.dbus.packages

Packages whose D-Bus configuration files should be included in the configuration of the D-Bus system-wide message bus. Specifically, every file in pkg/etc/dbus-1/system.d is included.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/system/dbus.nix

Defined by:

/etc/nixos/nixos/modules/system/upstart/upstart.nix
/etc/nixos/nixos/modules/services/printing/cupsd.nix
/etc/nixos/nixos/modules/services/networking/wicd.nix
/etc/nixos/nixos/modules/services/networking/avahi-daemon.nix
/etc/nixos/nixos/modules/services/misc/disnix.nix
/etc/nixos/nixos/modules/services/hardware/hal.nix
/etc/nixos/nixos/modules/security/policykit.nix
/etc/nixos/nixos/modules/security/consolekit.nix
services.ddclient.domain

Domain name to synchronize.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.ddclient.enable

Whether to synchronise your machine's IP address with a dynamic DNS provider (e.g. dyndns.org).

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.ddclient.extraConfig

Extra configuration. Contents will be added verbatim to the configuration file.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.ddclient.password

Password.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.ddclient.protocol

Protocol to use with dynamic DNS provider. (see also, http://sourceforge.net/apps/trac/ddclient/wiki/Protocols)

Default: "dyndns2"

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.ddclient.server

Server

Default: "members.dyndns.org"

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.ddclient.username

Username.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.ddclient.web

Default: "web, web=checkip.dyndns.com/, web-skip='IP Address'"

Declared by:

/etc/nixos/nixos/modules/services/networking/ddclient.nix
services.dhcpd.configFile

The path of the DHCP server configuration file. If no file is specified, a file is generated using the other options.

Default:

Declared by:

/etc/nixos/nixos/modules/services/networking/dhcpd.nix
services.dhcpd.enable

Whether to enable the DHCP server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/dhcpd.nix
services.dhcpd.extraConfig

Extra text to be appended to the DHCP server configuration file. Currently, you almost certainly need to specify something here, such as the options specifying the subnet mask, DNS servers, etc.

Default: ""

Example: "\n option subnet-mask 255.255.255.0;\n option broadcast-address 192.168.1.255;\n option routers 192.168.1.5;\n option domain-name-servers 130.161.158.4, 130.161.33.17, 130.161.180.1;\n option domain-name \"example.org\";\n subnet 192.168.1.0 netmask 255.255.255.0 {\n range 192.168.1.100 192.168.1.200;\n }\n "

Declared by:

/etc/nixos/nixos/modules/services/networking/dhcpd.nix
services.dhcpd.interfaces

The interfaces on which the DHCP server should listen.

Default: [ "eth0" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/dhcpd.nix
services.dhcpd.machines

A list mapping ethernet addresses to IP addresses for the DHCP server.

Default: [ ]

Example: [ { ethernetAddress = "00:16:76:9a:32:1d"; hostName = "foo"; ipAddress = "192.168.1.10"; } { ethernetAddress = "00:19:d1:1d:c4:9a"; hostName = "bar"; ipAddress = "192.168.1.11"; } ]

Declared by:

/etc/nixos/nixos/modules/services/networking/dhcpd.nix
services.disnix.enable

Whether to enable Disnix

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/disnix.nix
services.dovecot.enable

Whether to enable the Dovecot POP3/IMAP server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/mail/dovecot.nix
services.dovecot.group

Dovecot group name.

Default: "dovecot"

Declared by:

/etc/nixos/nixos/modules/services/mail/dovecot.nix
services.dovecot.sslCACert

CA certificate used by the server certificate.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/dovecot.nix
services.dovecot.sslServerCert

Server certificate

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/dovecot.nix
services.dovecot.sslServerKey

Server key.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/dovecot.nix
services.dovecot.user

Dovecot user name.

Default: "dovecot"

Declared by:

/etc/nixos/nixos/modules/services/mail/dovecot.nix
services.ejabberd.confDir

Location of the config directory of ejabberd

Default: "/var/ejabberd"

Declared by:

/etc/nixos/nixos/modules/services/networking/ejabberd.nix
services.ejabberd.enable

Whether to enable ejabberd server

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ejabberd.nix
services.ejabberd.loadDumps

Configuration dump that should be loaded on the first startup

Default: [ ]

Example: [ ]

Declared by:

/etc/nixos/nixos/modules/services/networking/ejabberd.nix
services.ejabberd.logsDir

Location of the logfile directory of ejabberd

Default: "/var/log/ejabberd"

Declared by:

/etc/nixos/nixos/modules/services/networking/ejabberd.nix
services.ejabberd.spoolDir

Location of the spooldir of ejabberd

Default: "/var/lib/ejabberd"

Declared by:

/etc/nixos/nixos/modules/services/networking/ejabberd.nix
services.ejabberd.virtualHosts

Virtualhosts that ejabberd should host. Hostnames are surrounded with doublequotes and separated by commas

Default: "\"localhost\""

Declared by:

/etc/nixos/nixos/modules/services/networking/ejabberd.nix
services.fcron.allow

Users allowed to use fcrontab and fcrondyn (one name per line, "all" for everyone).

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/scheduling/fcron.nix
services.fcron.deny

Users forbidden from using fcron.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/scheduling/fcron.nix
services.fcron.enable

Whether to enable the `fcron' daemon.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/scheduling/fcron.nix
services.fcron.maxSerialJobs

Maximum number of serial jobs which can run simultaneously.

Default: 1

Declared by:

/etc/nixos/nixos/modules/services/scheduling/fcron.nix
services.fcron.queuelen

Number of jobs the serial queue and the lavg queue can contain - empty to net set this number (-q)

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/scheduling/fcron.nix
services.fcron.systab

The "system" crontab contents.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/scheduling/fcron.nix
services.gnunet.applications

List of GNUnet applications supported by the daemon. Note that `fs', which means "file sharing", is probably the one you want.

Default: [ "advertising" "getoption" "fs" "stats" "traffic" ]

Example: [ "chat" "fs" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.debug

When true, run in debug mode; gnunetd will not daemonize and error messages will be written to stderr instead of a logfile.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.enable

Whether to run the GNUnet daemon. GNUnet is GNU's anonymous peer-to-peer communication and file sharing framework.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.extraOptions

Additional options that will be copied verbatim in `gnunetd.conf'. See `gnunetd.conf(5)' for details.

Default: ""

Example: "[NETWORK]\nINTERFACE = eth3\n"

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.fileSharing.activeMigration

Whether to allow active migration of content originating from other nodes.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.fileSharing.quota

Maximum file system usage (in MiB) for file sharing.

Default: 1024

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.home

Directory where the GNUnet daemon will store its data.

Default: "/var/lib/gnunet"

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.hostLists

URLs of host lists.

Default: [ "http://gnunet.org/hostlist.php" "http://gnunet.mine.nu:8081/hostlist" "http://vserver1236.vserver-on.de/hostlist-074" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.load.hardNetUpBandwidth

Hard bandwidth limit (in bits per second) when uploading data.

Default: 0

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.load.interfaces

List of network interfaces to use.

Default: [ "eth0" ]

Example: [ "wlan0" "eth1" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.load.maxCPULoad

Maximum CPU load (percentage) authorized for the GNUnet daemon.

Default: 100

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.load.maxNetDownBandwidth

Maximum bandwidth usage (in bits per second) for GNUnet when downloading data.

Default: 50000

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.load.maxNetUpBandwidth

Maximum bandwidth usage (in bits per second) for GNUnet when downloading data.

Default: 50000

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.logLevel

Log level of the deamon (see `gnunetd(1)' for details).

Default: "ERROR"

Example: "INFO"

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.tcp.port

The TCP port for use by GNUnet.

Default: 2086

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.transports

List of transport methods used by the server.

Default: [ "udp" "tcp" "http" "nat" ]

Example: [ "smtp" "http" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gnunet.udp.port

The UDP port for use by GNUnet.

Default: 2086

Declared by:

/etc/nixos/nixos/modules/services/networking/gnunet.nix
services.gpm.enable

Whether to enable GPM, the General Purpose Mouse daemon, which enables mouse support in virtual consoles.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/ttys/gpm.nix
services.gpm.protocol

Mouse protocol to use.

Default: "ps/2"

Declared by:

/etc/nixos/nixos/modules/services/ttys/gpm.nix
services.gpsd.debugLevel

The debugging level.

Default: 0

Declared by:

/etc/nixos/nixos/modules/services/misc/gpsd.nix
services.gpsd.device

A device may be a local serial device for GPS input, or a URL of the form: [{dgpsip|ntrip}://][user:passwd@]host[:port][/stream] in which case it specifies an input source for DGPS or ntrip data.

Default: "/dev/ttyUSB0"

Declared by:

/etc/nixos/nixos/modules/services/misc/gpsd.nix
services.gpsd.enable

Whether to enable `gpsd', a GPS service daemon.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/gpsd.nix
services.gpsd.port

The port where to listen for TCP connections.

Default: 2947

Declared by:

/etc/nixos/nixos/modules/services/misc/gpsd.nix
services.gpsd.readonly

Whether to enable the broken-device-safety, otherwise known as read-only mode. Some popular bluetooth and USB receivers lock up or become totally inaccessible when probed or reconfigured. This switch prevents gpsd from writing to a receiver. This means that gpsd cannot configure the receiver for optimal performance, but it also means that gpsd cannot break the receiver. A better solution would be for Bluetooth to not be so fragile. A platform independent method to identify serial-over-Bluetooth devices would also be nice.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/misc/gpsd.nix
services.gvpe.configFile

GVPE config file, if already present

Default:

Example: "/root/my-gvpe-conf"

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.configText

GVPE config contents

Default:

Example: "tcp-port = 655\nudp-port = 655\nmtu = 1480\nifname = vpn0\n\nnode = alpha\nhostname = alpha.example.org\nconnect = always\nenable-udp = true\nenable-tcp = true\non alpha if-up = if-up-0\non alpha pid-file = /var/gvpe/gvpe.pid\n"

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.customIFSetup

Additional commands to apply in ifup script

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.enable

Whether to run gvpe

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.ipAddress

IP address to assign to GVPE interface

Default:

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.nodename

GVPE node name

Default:

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.startOn

Condition to start GVPE

Default: "started network-interfaces"

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.stopOn

Condition to stop GVPE

Default: "stopping network-interfaces"

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gvpe.subnet

IP subnet assigned to GVPE network

Default:

Example: "10.0.0.0/8"

Declared by:

/etc/nixos/nixos/modules/services/networking/gvpe.nix
services.gw6c.autorun

Switch to false to create upstart-job and configuration, but not run it automatically

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.gw6c.enable

Whether to enable Gateway6 client (IPv6 tunnel).

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.gw6c.everPing

Gateway6 manual ping period.

Default: "1000000"

Example: "2"

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.gw6c.keepAlive

Gateway6 keep-alive period.

Default: "30"

Example: "2"

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.gw6c.password

Your Gateway6 password, if any.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.gw6c.server

Used Gateway6 server.

Default: "anon.freenet6.net"

Example: "broker.freenet6.net"

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.gw6c.username

Your Gateway6 login name, if any.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.gw6c.waitPingableBroker

Whether to wait until tunnel broker returns ICMP echo.

Default: true

Example: false

Declared by:

/etc/nixos/nixos/modules/services/networking/gw6c.nix
services.hal.enable

Whether to start the HAL daemon.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/hardware/hal.nix

Defined by:

/etc/nixos/nixos/modules/config/no-x-libs.nix
services.hal.packages

Packages containing additional HAL configuration data.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/hardware/hal.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
/etc/nixos/nixos/modules/services/hardware/hal.nix
services.httpd.adminAddr

E-mail address of the server administrator.

Default: none

Example: "admin@example.org"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.documentRoot

The path of Apache's document root directory. If left undefined, an empty directory in the Nix store will be used as root.

Default:

Example: "/data/webserver/docs"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.enable

Whether to enable the Apache httpd server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.enableSSL

Whether to enable SSL (https) support.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.enableUserDir

Whether to enable serving ~/public_html as /~username.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.extraConfig

These lines go to httpd.conf verbatim. They will go after directories and directory aliases defined by default.

Default: ""

Example: "<Directory /home>\n Options FollowSymlinks\n AllowOverride All\n</Directory>\n"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix

Defined by:

/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
services.httpd.extraModules

Specifies additional Apache modules. These can be specified as a string in the case of modules distributed with Apache, or as an attribute set specifying the name and path of the module.

Default: [ ]

Example: [ "proxy_connect" { name = "php5"; path = "/nix/store/kp93hvk0x6ld5f136l1ymnwyb3xwr2n7-php_configurable-5.2.11/modules/libphp5.so"; } ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.extraSubservices

Extra subservices to enable in the webserver.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix

Defined by:

/etc/nixos/nixos/modules/services/monitoring/systemhealth.nix
services.httpd.globalRedirect

If set, all requests for this host are redirected permanently to the given URL.

Default: ""

Example: "http://newserver.example.org/"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.group

Group under which httpd runs. The account is created automatically if it doesn't exist.

Default: "wwwrun"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.hostName

Canonical hostname for the server.

Default: "localhost"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.logDir

Directory for Apache's log files. It is created automatically.

Default: "/var/log/httpd"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.logFormat

Log format for Apache's log files. Possible values are: combined, common, referer, agent.

Default: "common"

Example: "combined"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.logPerVirtualHost

If enabled, each virtual host gets its own access_log and error_log, namely suffixed by the hostName of the virtual host.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.phpOptions

Options appended to the PHP configuration file php.ini.

Default: ""

Example: "date.timezone = \"CET\"\n"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix

Defined by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.port

Port for the server. 0 means use the default port: 80 for http and 443 for https (i.e. when enableSSL is set).

Default: 0

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.servedDirs

This option provides a simple way to serve static directories.

Default: [ ]

Example: [ { dir = "/home/eelco/Dev/nix-homepage"; urlPath = "/nix"; } ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.servedFiles

This option provides a simple way to serve individual, static files.

Default: [ ]

Example: [ { dir = "/home/eelco/some-file.png"; urlPath = "/foo/bar.png"; } ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.serverAliases

Additional names of virtual hosts served by this virtual host configuration.

Default: [ ]

Example: [ "www.example.org" "www.example.org:8080" "example.org" ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.sslServerCert

Path to server SSL certificate.

Default: ""

Example: "/var/host.cert"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.sslServerKey

Path to server SSL certificate key.

Default: ""

Example: "/var/host.key"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.stateDir

Directory for Apache's transient runtime state (such as PID files). It is created automatically. Note that the default, /var/run/httpd, is deleted at boot time.

Default: "/var/run/httpd"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.user

User account under which httpd runs. The account is created automatically if it doesn't exist.

Default: "wwwrun"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.httpd.virtualHosts

Specification of the virtual hosts served by Apache. Each element should be an attribute set specifying the configuration of the virtual host. The available options are the non-global options permissible for the main host.

Default: [ ]

Example: [ { documentRoot = "/data/webroot-foo"; hostName = "foo"; } { documentRoot = "/data/webroot-bar"; hostName = "bar"; } ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/apache-httpd/default.nix
services.ircdHybrid.adminEmail

IRCD server administrator e-mail.

Default: "<bit-bucket@example.com>"

Example: "<name@domain.tld>"

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.certificate

IRCD server SSL certificate. There are some limitations - read manual.

Default:

Example:

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.description

IRCD server description.

Default: "Hybrid-7 IRC server."

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.enable

Enable IRCD.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.extraIPs

Extra IP's to bind.

Default: [ ]

Example: [ "127.0.0.1" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.extraPort

Extra port to avoid filtering.

Default: "7117"

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.rsaKey

IRCD server RSA key.

Default:

Example:

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.serverName

IRCD server name.

Default: "hades.arpa"

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.ircdHybrid.sid

IRCD server unique ID in a net of servers.

Default: "0NL"

Declared by:

/etc/nixos/nixos/modules/services/networking/ircd-hybrid.nix
services.jboss.deployDir

Location of the deployment files

Default: "/nix/var/nix/profiles/default/server/default/deploy/"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.jboss.enable

Whether to enable jboss

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.jboss.libUrl

Location where the shared library JARs are stored

Default: "file:///nix/var/nix/profiles/default/server/default/lib"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.jboss.logDir

Location of the logfile directory of JBoss

Default: "/var/log/jboss"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.jboss.serverDir

Location of the server instance files

Default: "/var/jboss/server"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.jboss.tempDir

Location where JBoss stores its temp files

Default: "/tmp"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.jboss.useJK

Whether to use to connector to the Apache HTTP server

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.jboss.user

User account under which jboss runs.

Default: "nobody"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/jboss.nix
services.locate.enable

If enabled, NixOS will periodically update the database of files used by the locate command.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/misc/locate.nix
services.locate.period

This option defines (in the format used by cron) when the locate database is updated. The default is to update at 02:15 (at night) every day.

Default: "15 02 * * *"

Declared by:

/etc/nixos/nixos/modules/misc/locate.nix
services.lshd.enable

Whether to enable the GNU lshd SSH2 daemon, which allows secure remote login.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix

Defined by:

/etc/nixos/nixos/modules/config/gnu.nix
services.lshd.hostKey

Path to the server's private key. Note that this key must have been created, e.g., using "lsh-keygen --server | lsh-writekey --server", so that you can run lshd.

Default: "/etc/lsh/host-key"

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.interfaces

List of network interfaces where listening for connections. When providing the empty list, `[]', lshd listens on all network interfaces.

Default: [ ]

Example: [ "localhost" "1.2.3.4:443" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.loginShell

If non-null, override the default login shell with the specified value.

Default:

Example: "/nix/store/xyz-bash-10.0/bin/bash10"

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.passwordAuthentication

Whether to enable password authentication.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.portNumber

The port on which to listen for connections.

Default: 22

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.publicKeyAuthentication

Whether to enable public key authentication.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.rootLogin

Whether to enable remote root login.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.srpKeyExchange

Whether to enable SRP key exchange and user authentication.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.subsystems

List of subsystem-path pairs, where the head of the pair denotes the subsystem name, and the tail denotes the path to an executable implementing it.

Default: [ [ "sftp" "/nix/store/9bwcw0vsnfqh366qp434xq4822c1izms-lsh-2.0.4/sbin/sftp-server" ] ]

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.syslog

Whether to enable syslog output.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.tcpForwarding

Whether to enable TCP/IP forwarding.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.lshd.x11Forwarding

Whether to enable X11 forwarding.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/lshd.nix
services.mingetty.greetingLine

Welcome line printed by mingetty.

Default: "<<< Welcome to NixOS (\\m) - Kernel \\r (\\l) >>>"

Declared by:

/etc/nixos/nixos/modules/services/ttys/mingetty.nix
services.mingetty.helpLine

Help line printed by mingetty below the welcome line. Used by the installation CD to give some hints on how to proceed.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/ttys/mingetty.nix

Defined by:

/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
services.mingetty.ttys

The list of tty devices on which to start a login prompt.

Default: [ "tty1" "tty2" "tty3" "tty4" "tty5" "tty6" ]

Declared by:

/etc/nixos/nixos/modules/services/ttys/mingetty.nix
services.mingetty.waitOnMounts

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.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/ttys/mingetty.nix
services.monit.config

monit.conf content

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/monitoring/monit.nix
services.monit.enable

Whether to run Monit system watcher.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/monitoring/monit.nix
services.monit.startOn

What Monit supposes to be already present

Default: "network-interfaces/started"

Declared by:

/etc/nixos/nixos/modules/services/monitoring/monit.nix
services.mysql.dataDir

Location where MySQL stores its table files

Default: "/var/mysql"

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysql.enable

Whether to enable the MySQL server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysql.initialDatabases

List of database names and their initial schemas that should be used to create databases on the first startup of MySQL

Default: [ ]

Example: [ { name = "foodatabase"; schema = ; } { name = "bardatabase"; schema = ; } ]

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysql.logError

Location of the MySQL error logfile

Default: "/var/log/mysql_err.log"

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysql.package

Which MySQL derivation to use.

Default: (build of )

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysql.pidDir

Location of the file which stores the PID of the MySQL server

Default: "/var/run/mysql"

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysql.port

Port of MySQL

Default: "3306"

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysql.user

User account under which MySQL runs

Default: "mysql"

Declared by:

/etc/nixos/nixos/modules/services/databases/mysql.nix
services.mysqlBackup.databases

List of database names to dump.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/backup/mysql-backup.nix
services.mysqlBackup.enable

Whether to enable MySQL backups.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/backup/mysql-backup.nix
services.mysqlBackup.location

Location to put the gzipped MySQL database dumps.

Default: "/var/backup/mysql"

Declared by:

/etc/nixos/nixos/modules/services/backup/mysql-backup.nix
services.mysqlBackup.period

This option defines (in the format used by cron) when the databases should be dumped. The default is to update at 01:15 (at night) every day.

Default: "15 01 * * *"

Declared by:

/etc/nixos/nixos/modules/services/backup/mysql-backup.nix
services.mysqlBackup.user

User to be used to perform backup.

Default: "mysql"

Declared by:

/etc/nixos/nixos/modules/services/backup/mysql-backup.nix
services.nagios.enable

Whether to use Nagios to monitor your system or network.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
services.nagios.enableWebInterface

Whether to enable the Nagios web interface. You should also enable Apache (services.httpd.enable).

Default: false

Declared by:

/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
services.nagios.objectDefs

A list of Nagios object configuration files that must define the hosts, host groups, services and contacts for the network that you want Nagios to monitor.

Default: none

Declared by:

/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
services.nagios.plugins

Packages to be added to the Nagios PATH. Typically used to add plugins, but can be anything.

Default: [ (build of nagios-plugins-1.4.10) (build of ssmtp-2.61-12) ]

Declared by:

/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
services.nagios.urlPath

The URL path under which the Nagios web interface appears. That is, you can access the Nagios web interface through http://server/urlPath.

Default: "/nagios"

Declared by:

/etc/nixos/nixos/modules/services/monitoring/nagios/default.nix
services.nfsKernel.client.enable

Whether to enable the kernel's NFS client daemons.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
services.nfsKernel.server.createMountPoints

Whether to create the mount points in the exports file at startup time.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
services.nfsKernel.server.enable

Whether to enable the kernel's NFS server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
services.nfsKernel.server.exports

Contents of the /etc/exports file. See exports(5) for the format.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
services.nfsKernel.server.hostName

Hostname or address on which NFS requests will be accepted. Default is all. See the -H option in nfsd(8).

Default:

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
services.nfsKernel.server.nproc

Number of NFS server threads. Defaults to the recommended value of 8.

Default: 8

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
services.nixosManual.browser

Browser used to show the manual.

Default: "/nix/store/gddprbzy1bic5wjc9rfqrwvbzkw6zp6f-w3m-0.5.2/bin/w3m"

Declared by:

/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
services.nixosManual.enable

Whether to build the NixOS manual pages.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
services.nixosManual.revision

Revision of the targeted source file. This value can either be "local", "HEAD" or any revision number embedded in a string.

Default: "local"

Declared by:

/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
services.nixosManual.showManual

Whether to show the NixOS manual on one of the virtual consoles.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
services.nixosManual.ttyNumber

Virtual console on which to show the manual.

Default: "8"

Declared by:

/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
services.nscd.enable

Whether to enable the Name Service Cache Daemon.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/system/nscd.nix
services.ntp.enable

Whether to synchronise your machine's time using the NTP protocol.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ntpd.nix
services.ntp.servers

The set of NTP servers from which to synchronise.

Default: [ "0.pool.ntp.org" "1.pool.ntp.org" "2.pool.ntp.org" ]

Declared by:

/etc/nixos/nixos/modules/services/networking/ntpd.nix
services.openafsClient.cacheDirectory

Cache directory.

Default: "/var/cache/openafs"

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/openafs-client/default.nix
services.openafsClient.cacheSize

Cache size.

Default: "100000"

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/openafs-client/default.nix
services.openafsClient.cellName

Cell name.

Default: "grand.central.org"

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/openafs-client/default.nix
services.openafsClient.enable

Whether to enable the OpenAFS client.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/openafs-client/default.nix
services.openfire.enable

Whether to enable OpenFire XMPP server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/openfire.nix
services.openfire.usePostgreSQL

Whether you use PostgreSQL service for your storage back-end.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/openfire.nix
services.openssh.allowSFTP

Whether to enable the SFTP subsystem in the SSH daemon. This enables the use of commands such as sftp and sshfs.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/rename.nix
services.openssh.enable

Whether to enable the OpenSSH secure shell daemon, which allows secure remote logins.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/rename.nix

Defined by:

/etc/nixos/nixos/modules/config/gnu.nix
services.openssh.forwardX11

Whether to allow X11 connections to be forwarded.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/rename.nix
services.openssh.gatewayPorts

Specifies whether remote hosts are allowed to connect to ports forwarded for the client. See sshd_config(5).

Default: "no"

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/rename.nix
services.openssh.permitRootLogin

Whether the root user can login using ssh. Valid values are yes, without-password, forced-commands-only or no. If without-password doesn't work try yes.

Default: "yes"

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/rename.nix
services.openssh.ports

Specifies on which ports the SSH daemon listens.

Default: [ 22 ]

Declared by:

/etc/nixos/nixos/modules/services/networking/ssh/sshd.nix
/etc/nixos/nixos/modules/rename.nix
services.openvpn.enable

Whether to enable OpenVPN.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/openvpn.nix
services.openvpn.servers

You can define multiple openvpn instances. The id of an instance is given by the attribute name. Each instance will result in a new job file. Additionally you can specify the up/ down scripts by setting the up down properties. Config lines up=/nix/store/xxx-up-script down=... will be appended to your configuration file automatically If you define at least one of up/down "script-security 2" will be prepended to your config otherwise you scripts aren't run by openvpn Don't forget to check that the all package sizes can be sent. For examlpe if scp hangs you should set --fragment XXX --mssfix YYY.

Default: { }

Example: { clientMostSimple = { config = "#client:\n#remote myremote.mydomain\n#dev tun\n#ifconfig 10.8.0.2 10.8.0.1\n#secret static.key\n"; } ; mostSimple = { config = "# Most simple configuration: http://openvpn.net/index.php/documentation/miscellaneous/static-key-mini-howto.html.\n# server : \ndev tun\nifconfig 10.8.0.1 10.8.0.2\nsecret static.key\n"; down = "ip route add ..!"; up = "ip route add ..!"; } ; serverScalable = { config = "multiple clienst\nsee example file found in http://openvpn.net/index.php/documentation/howto.html\n"; } ; }

Declared by:

/etc/nixos/nixos/modules/services/networking/openvpn.nix
services.openvpn.servers.<name>.config

config of this openvpn instance

Default: none

Declared by:

/etc/nixos/nixos/modules/services/networking/openvpn.nix
services.openvpn.servers.<name>.down

script which is run when server instance shuts down Usually this reverts what up has done

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/openvpn.nix
services.openvpn.servers.<name>.up

script which is run when server instance starts up succesfully. Use it to setup firewall and routing

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/openvpn.nix
services.pcscd.enable

Whether to enable the PCSC-Lite daemon.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/hardware/pcscd.nix
services.portmap.chroot

If non-empty, a path to change root to.

Default: "/var/empty"

Declared by:

/etc/nixos/nixos/modules/services/networking/portmap.nix
services.portmap.enable

Whether to enable `portmap', an ONC RPC directory service notably used by NFS and NIS, and which can be queried using the rpcinfo(1) command.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/portmap.nix

Defined by:

/etc/nixos/nixos/modules/services/network-filesystems/nfs-kernel.nix
services.portmap.verbose

Whether to enable verbose output.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/portmap.nix
services.postfix.destination

Full (!) list of domains we deliver locally. Leave blank for acceptable Postfix default.

Default:

Example: [ "localhost" ]

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.domain

Domain to use. Leave blank to use hostname minus first component.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.enable

Whether to run the Postfix mail server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.extraAliases

Additional entries to put verbatim into aliases file.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.group

What to call the Postfix group (must be used only for postfix).

Default: "postfix"

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.hostname

Hostname to use. Leave blank to use just the hostname of machine. It should be FQDN.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.lookupMX

Whether relay specified is just domain whose MX must be used.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.networks

Net masks for trusted - allowed to relay mail to third parties - hosts. Leave empty to use mynetworks_style configuration or use default (localhost-only).

Default:

Example: [ "192.168.0.1/24" ]

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.networksStyle

Name of standard way of trusted network specification to use, leave blank if you specify it explicitly or if you want to use default (localhost-only).

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.origin

Origin to use in outgoing e-mail. Leave blank to use hostname.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.postmasterAlias

Who should receive postmaster e-mail.

Default: "root"

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.recipientDelimiter

Delimiter for address extension: so mail to user+test can be handled by ~user/.forward+test

Default: ""

Example: "+"

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.relayDomains

List of domains we agree to relay to. Default is the same as destination.

Default:

Example: [ "localdomain" ]

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.relayHost

Mail relay for outbound mail.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.rootAlias

Who should receive root e-mail. Blank for no redirection.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.setgidGroup

How to call postfix setgid group (for postdrop). Should be uniquely used group.

Default: "postdrop"

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.sslCACert

SSL certificate of CA.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.sslCert

SSL certificate to use.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.sslKey

SSL key to use.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postfix.user

What to call the Postfix user (must be used only for postfix).

Default: "postfix"

Declared by:

/etc/nixos/nixos/modules/services/mail/postfix.nix
services.postgresql.authMethod

How to authorize users. Note: ident needs absolute trust to all allowed client hosts.

Default: " ident sameuser "

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix
services.postgresql.authentication

Defines how users authenticate themselves to the server.

Default: "# Generated file; do not edit!\nlocal all mediawiki ident mediawiki-users\nlocal all all ident sameuser\nhost all all 127.0.0.1/32 md5\nhost all all ::1/128 md5\n"

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix
services.postgresql.dataDir

Data directory for PostgreSQL.

Default: "/var/db/postgresql"

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix
services.postgresql.enable

Whether to run PostgreSQL.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix

Defined by:

/etc/nixos/nixos/modules/services/monitoring/zabbix-server.nix
services.postgresql.enableTCPIP

Whether to run PostgreSQL with -i flag to enable TCP/IP connections.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix
services.postgresql.identMap

Defines the mapping from system users to database users.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix

Defined by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix
services.postgresql.logDir

Log directory for PostgreSQL.

Default: "/var/log/postgresql"

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix
services.postgresql.port

Port for PostgreSQL.

Default: "5432"

Declared by:

/etc/nixos/nixos/modules/services/databases/postgresql.nix
services.postgresqlBackup.databases

List of database names to dump.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/backup/postgresql-backup.nix
services.postgresqlBackup.enable

Whether to enable PostgreSQL dumps.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/backup/postgresql-backup.nix
services.postgresqlBackup.location

Location to put the gzipped PostgreSQL database dumps.

Default: "/var/backup/postgresql"

Declared by:

/etc/nixos/nixos/modules/services/backup/postgresql-backup.nix
services.postgresqlBackup.period

This option defines (in the format used by cron) when the databases should be dumped. The default is to update at 01:15 (at night) every day.

Default: "15 01 * * *"

Declared by:

/etc/nixos/nixos/modules/services/backup/postgresql-backup.nix
services.printing.bindirCmds

Additional commands executed while creating the directory containing the CUPS server binaries.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/printing/cupsd.nix
services.printing.enable

Whether to enable printing support through the CUPS daemon.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/printing/cupsd.nix
services.privoxy.enable

Whether to run the machine as a HTTP proxy server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/privoxy.nix
services.privoxy.extraConfig

Extra configuration. Contents will be added verbatim to the configuration file.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/privoxy.nix
services.privoxy.listenAddress

Address the proxy server is listening to.

Default: "127.0.0.1:8118"

Declared by:

/etc/nixos/nixos/modules/services/networking/privoxy.nix
services.privoxy.logDir

Location for privoxy log files.

Default: "/var/log/privoxy"

Declared by:

/etc/nixos/nixos/modules/services/networking/privoxy.nix
services.pulseaudio.enable

Whether to enable the PulseAudio system-wide audio server. Note that the documentation recommends running PulseAudio daemons per-user rather than system-wide on desktop machines.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/audio/pulseaudio.nix
services.pulseaudio.logLevel

A string denoting the log level: one of error, warn, notice, info, or debug.

Default: "notice"

Example: "debug"

Declared by:

/etc/nixos/nixos/modules/services/audio/pulseaudio.nix
services.rogue.enable

Whether to enable the Rogue game on one of the virtual consoles.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/rogue.nix
services.rogue.tty

Virtual console on which to run Rogue.

Default: "tty9"

Declared by:

/etc/nixos/nixos/modules/services/misc/rogue.nix
services.samba.configFile

internal use to pass filepath to samba pam module

Default: none

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.samba.defaultShare.enable

Whether to share /home/smbd as 'default'

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.samba.defaultShare.guest

Whether to allow guest access to default share

Default: true

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.samba.defaultShare.writeable

Whether to allow write access to default share

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.samba.enable

Whether to enable the samba server. (to communicate with, and provide windows shares) use start / stop samba-control to start/stop all daemons. smbd and nmbd are not shutdown correctly yet. so just pkill them and restart those jobs.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.samba.extraConfig

additional global section and extra section lines go in here.

Default: "# [global] continuing global section here, section is started by nix to set pids etc\n\n smb passwd file = /etc/samba/passwd\n\n # is this useful ?\n domain master = auto\n\n encrypt passwords = Yes\n client plaintext auth = No\n\n # yes: if you use this you probably also want to enable syncPasswordsByPam\n # no: You can still use the pam password database. However\n # passwords will be sent plain text on network (discouraged)\n\n workgroup = Users\n server string = %h\n comment = Samba\n log file = /var/log/samba/log.%m\n log level = 10\n max log size = 50000\n security = user\n\n client lanman auth = Yes\n dns proxy = no\n invalid users = root\n passdb backend = tdbsam\n passwd program = /usr/bin/passwd %u\n"

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.samba.securityType

Samba security type

Default: "user"

Example: "share"

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.samba.syncPasswordsByPam

enabling this will add a line directly after pam_unix.so. Whenever a password is changed the samba password will be updated as well. However you still yave to add the samba password once using smbpasswd -a user If you don't want to maintain an extra pwd database you still can send plain text passwords which is not secure.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/network-filesystems/samba.nix
services.sitecopy.backups

List of attributesets describing the backups. Username/password are extracted from /var/spool/sitecopy/sitecopy.secrets at activation time. The secrets file lines should have the following structure:

  server username password

Default: [ ]

Example: [ { https = true; local = "/tmp/backup"; name = "test"; protocol = "webdav"; remote = "/staff-groups/ewi/st/strategoxt/backup/test"; server = "webdata.tudelft.nl"; symlinks = "maintain"; } ]

Declared by:

/etc/nixos/nixos/modules/services/backup/sitecopy-backup.nix
services.sitecopy.enable

Whether to enable sitecopy backups of specified directories.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/backup/sitecopy-backup.nix
services.sitecopy.period

This option defines (in the format used by cron) when the sitecopy backup are being run. The default is to update at 04:15 (at night) every day.

Default: "15 04 * * *"

Declared by:

/etc/nixos/nixos/modules/services/backup/sitecopy-backup.nix
services.sshd.allowSFTP

Obsolete name of services.openssh.allowSFTP.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
services.sshd.enable

Obsolete name of services.openssh.enable.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
services.sshd.forwardX11

Obsolete name of services.openssh.forwardX11.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix

Defined by:

/etc/nixos/nixos/modules/config/no-x-libs.nix
services.sshd.gatewayPorts

Obsolete name of services.openssh.gatewayPorts.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
services.sshd.permitRootLogin

Obsolete name of services.openssh.permitRootLogin.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
services.sshd.ports

Obsolete name of services.openssh.ports.

Default: none

Declared by:

/etc/nixos/nixos/modules/rename.nix
services.synergy.client.enable

Whether to enable the synergy client (receive keyboard and mouse events from a synergy server)

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/synergy.nix
services.synergy.client.screenName

use screen-name instead the hostname to identify ourselfs to the server.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/misc/synergy.nix
services.synergy.client.serverAddress

The server address is of the form: [hostname][:port]. The hostname must be the address or hostname of the server. The port overrides the default port, 24800.

Default: none

Declared by:

/etc/nixos/nixos/modules/services/misc/synergy.nix
services.synergy.server.address

listen for clients on the given address

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/misc/synergy.nix
services.synergy.server.configFile

The synergy server configuration file. open upstart-jobs/synergy.nix to see an example

Default: "/etc/synergy-server.conf"

Declared by:

/etc/nixos/nixos/modules/services/misc/synergy.nix
services.synergy.server.enable

Whether to enable the synergy server (send keyboard and mouse events)

Default: false

Declared by:

/etc/nixos/nixos/modules/services/misc/synergy.nix
services.synergy.server.screenName

use screen-name instead the hostname to identify this screen in the configuration.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/misc/synergy.nix
services.syslogd.extraConfig

Additional text appended to syslog.conf.

Default: ""

Example: "news.* -/var/log/news"

Declared by:

/etc/nixos/nixos/modules/services/logging/syslogd.nix
services.syslogd.tty

The tty device on which syslogd will print important log messages.

Default: "tty10"

Declared by:

/etc/nixos/nixos/modules/services/logging/syslogd.nix
services.systemhealth.drives

Drives to monitor.

Default: [ ]

Example: [ { name = "root"; path = "/"; } ]

Declared by:

/etc/nixos/nixos/modules/services/monitoring/systemhealth.nix
services.systemhealth.enable

Enable the system health monitor and its generation of graphs.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/monitoring/systemhealth.nix
services.systemhealth.interfaces

Interfaces to monitor (minimum one).

Default: [ "lo" ]

Example: [ "lo" "eth0" "eth1" ]

Declared by:

/etc/nixos/nixos/modules/services/monitoring/systemhealth.nix
services.systemhealth.urlPrefix

The URL prefix under which the System Health web pages appear in httpd.

Default: "/health"

Declared by:

/etc/nixos/nixos/modules/services/monitoring/systemhealth.nix
services.tftpd.enable

Whether to enable the anonymous FTP user.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/tftpd.nix
services.tftpd.path

Where the tftp server files are stored

Default: "/home/tftp"

Declared by:

/etc/nixos/nixos/modules/services/networking/tftpd.nix
services.tomcat.axis2.enable

Whether to enable an Apache Axis2 container

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.axis2.services

List containing AAR files or directories with AAR files which are web services to be deployed on Axis2

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.baseDir

Location where Tomcat stores configuration files, webapplications and logfiles

Default: "/var/tomcat"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.catalinaOpts

Parameters to pass to the Java Virtual Machine which spawns the Catalina servlet container

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.commonLibs

List containing JAR files or directories with JAR files which are libraries shared by the web applications and the servlet container

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.enable

Whether to enable Apache Tomcat

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.group

Group account under which Apache Tomcat runs.

Default: "tomcat"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.javaOpts

Parameters to pass to the Java Virtual Machine which spawns Apache Tomcat

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.logPerVirtualHost

Whether to enable logging per virtual host.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.sharedLibs

List containing JAR files or directories with JAR files which are libraries shared by the web applications

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.user

User account under which Apache Tomcat runs.

Default: "tomcat"

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.virtualHosts

List consisting of a virtual host name and a list of web applications to deploy on each virtual host

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.tomcat.webapps

List containing WAR files or directories with WAR files which are web applications to be deployed on Tomcat

Default: [ (build of apache-tomcat-6.0.26) ]

Declared by:

/etc/nixos/nixos/modules/services/web-servers/tomcat.nix
services.ttyBackgrounds.defaultTheme

The default theme for the virtual consoles. Themes can be found at http://www.bootsplash.de/.

Default: (build of Theme-BabyTux.tar.bz2)

Declared by:

/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix
services.ttyBackgrounds.enable

Whether to enable graphical backgrounds for the virtual consoles.

Default: true

Declared by:

/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix
services.ttyBackgrounds.specificThemes

This option overrides the theme for specific virtual consoles.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix

Defined by:

/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix
/etc/nixos/nixos/modules/services/misc/rogue.nix
/etc/nixos/nixos/modules/services/misc/nixos-manual.nix
services.udev.extraRules

Additional udev rules. They'll be written into file 10-local.rules. Thus they are read before all other rules.

Default: ""

Example: "KERNEL==\"eth*\", ATTR{address}==\"00:1D:60:B9:6D:4F\", NAME=\"my_fast_network_card\"\n"

Declared by:

/etc/nixos/nixos/modules/services/hardware/udev.nix

Defined by:

/etc/nixos/nixos/modules/services/hardware/udev.nix
services.udev.packages

List of packages containing udev rules. All files found in pkg/etc/udev/rules.d and pkg/lib/udev/rules.d will be included.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/hardware/udev.nix

Defined by:

/etc/nixos/nixos/modules/tasks/lvm.nix
/etc/nixos/nixos/modules/services/x11/hardware/wacom.nix
/etc/nixos/nixos/modules/services/hardware/udev.nix
/etc/nixos/nixos/modules/services/hardware/hal.nix
/etc/nixos/nixos/modules/hardware/pcmcia.nix
services.uptimed.enable

Uptimed allows you to track your highest uptimes.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/system/uptimed.nix
services.vsftpd.anonymousMkdirEnable

Whether mkdir is permitted to anonymous users.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.anonymousUploadEnable

Whether any uploads are permitted to anonymous users.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.anonymousUser

Whether to enable the anonymous FTP user.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.anonymousUserHome

Path to anonymous user data.

Default: "/home/ftp"

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.chrootlocalUser

Whether local users are confined to their home directory.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.enable

Whether to enable the vsftpd FTP server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.localUsers

Whether to enable FTP for local users.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.userlistDeny

Whether users are excluded.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.userlistEnable

Whether users are included.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.vsftpd.writeEnable

Whether any write activity is permitted to users.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/vsftpd.nix
services.xfs.enable

Whether to enable the X Font Server.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/x11/xfs.nix
services.xinetd.enable

Whether to enable the xinetd super-server daemon.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix

Defined by:

/etc/nixos/nixos/modules/services/networking/tftpd.nix
services.xinetd.services

A list of services provided by xinetd.

Default: [ ]

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix

Defined by:

/etc/nixos/nixos/modules/services/networking/tftpd.nix
services.xinetd.services.*.name

Name of the service.

Default: none

Example: "login"

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix
services.xinetd.services.*.port

Port number of the service.

Default: 0

Example: 123

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix
services.xinetd.services.*.protocol

Protocol of the service. Usually tcp or udp.

Default: "tcp"

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix
services.xinetd.services.*.server

Path of the program that implements the service.

Default: none

Example: "/foo/bin/ftpd"

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix
services.xinetd.services.*.serverArgs

Command-line arguments for the server program.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix
services.xinetd.services.*.unlisted

Whether this server is listed in /etc/services. If so, the port number can be omitted.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix
services.xinetd.services.*.user

User account for the service

Default: "nobody"

Declared by:

/etc/nixos/nixos/modules/services/networking/xinetd.nix
services.xserver.autorun

Whether to start the X server automatically.

Default: true

Declared by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
services.xserver.config

The contents of the configuration file of the X server (xorg.conf).

Default: none

Declared by:

/etc/nixos/nixos/modules/services/x11/xserver.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
/etc/nixos/nixos/modules/services/x11/hardware/wacom.nix
/etc/nixos/nixos/modules/services/x11/hardware/synaptics.nix
services.xserver.defaultDepth

Default colour depth.

Default: 0

Example: 8

Declared by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
services.xserver.desktopManager.default

Default desktop manager loaded if none have been chosen.

Default: "xterm"

Example: "none"

Declared by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/default.nix
services.xserver.desktopManager.gnome.enable

Enable a gnome terminal as a desktop manager.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/gnome.nix
services.xserver.desktopManager.kde.enable

Enable the kde desktop manager.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/kde.nix
services.xserver.desktopManager.kde4.enable

Enable the KDE 4 desktop environment.

Default: false

Example: true

Declared by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/kde4.nix
services.xserver.desktopManager.session

Internal option used to add some common line to desktop manager scripts before forwarding the value to the displayManager.

Default: [ ]

Example: [ { bgSupport = true; name = "kde"; start = "..."; } ]

Declared by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/default.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/xterm.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/none.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde4.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/kde.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/gnome.nix
services.xserver.desktopManager.xterm.enable

Enable a xterm terminal as a desktop manager.

Default: true

Example: false

Declared by:

/etc/nixos/nixos/modules/services/x11/desktop-managers/xterm.nix
services.xserver.deviceSection

Contents of the first Device section of the X server configuration file.

Default: ""

Example: "VideoRAM 131072"

Declared by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
services.xserver.display

Display number for the X server.

Default: 0

Example: 1

Declared by:

/etc/nixos/nixos/modules/services/x11/xserver.nix
services.xserver.displayManager.auto.enable

Whether to enable the fake "auto" display manager, which automatically logs in the user specified in the user option. This is mostly useful for automated tests.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/auto.nix
services.xserver.displayManager.auto.user

The user account to login automatically.

Default: "root"

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/auto.nix
services.xserver.displayManager.job

This option defines how to start the display manager.

Default: { }

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/default.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/display-managers/slim.nix
/etc/nixos/nixos/modules/services/x11/display-managers/kdm.nix
/etc/nixos/nixos/modules/services/x11/display-managers/auto.nix
services.xserver.displayManager.job.environment

Additional environment variables needed by the display manager.

Default: { }

Example: { SLIM_CFGFILE = ; }

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/default.nix
services.xserver.displayManager.job.execCmd

Command to start the display manager.

Default: none

Example: "/nix/store/vhyjiqa219r0zsvsbjyw1klj2y5f5sl0-slim-1.3.1/bin/slim"

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/default.nix
services.xserver.displayManager.job.logsXsession

Whether the display manager redirects the output of the session script to ~/.xsession-errors.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/default.nix
services.xserver.displayManager.job.preStart

Script executed before the display manager is started.

Default: ""

Example: "rm -f /var/log/my-display-manager.log"

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/default.nix
services.xserver.displayManager.kdm.enable

Whether to enable the KDE display manager.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/kdm.nix
services.xserver.displayManager.kdm.enableXDMCP

Whether to enable XDMCP, which allows remote logins.

Default: false

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/kdm.nix
services.xserver.displayManager.kdm.extraConfig

Options appended to kdmrc, the configuration file of KDM.

Default: ""

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/kdm.nix
services.xserver.displayManager.session

List of sessions supported with the command used to start each session. Each session script can set the waitPID shell variable to make this script wait until the end of the user session. Each script is used to define either a windows manager or a desktop manager. These can be differentiated by setting the attribute manage either to "window" or "desktop". The list of desktop manager and window manager should appear inside the display manager with the desktop manager name followed by the window manager name.

Default: [ ]

Example: [ { manage = "desktop"; name = "xterm"; start = "\n /nix/store/r8wrqglglmwdxj87fharv5jgqrbxvnja-xterm-231/bin/xterm -ls &\n waitPID=$!\n "; } ]

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/default.nix

Defined by:

/etc/nixos/nixos/modules/services/x11/window-managers/default.nix
/etc/nixos/nixos/modules/services/x11/desktop-managers/default.nix
services.xserver.displayManager.slim.defaultUser

The default user to load. If you put a username here you get it automatically loaded into the username field, and the focus is placed on the password.

Default: ""

Example: "login"

Declared by:

/etc/nixos/nixos/modules/services/x11/display-managers/slim.nix
services.xserver.displayManager.slim.enable

Whether to enable SLiM as the display manager.

Default: true

Declared by: