2008-12-04 16:48:27 +01:00
|
|
|
{pkgs, config, ...}:
|
2008-08-08 20:56:58 +02:00
|
|
|
|
|
|
|
let
|
2009-01-25 16:49:12 +01:00
|
|
|
inherit (pkgs.lib) mkOption mergeOneOption;
|
2008-08-08 20:56:58 +02:00
|
|
|
in
|
2007-01-08 23:41:41 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
{
|
2006-12-11 17:10:23 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
time = {
|
2006-12-11 18:36:57 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
timeZone = mkOption {
|
|
|
|
default = "CET";
|
|
|
|
example = "America/New_York";
|
|
|
|
description = "The time zone used when displaying times and dates.";
|
|
|
|
};
|
2006-12-11 18:36:57 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2006-12-23 00:34:42 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
|
|
|
|
boot = {
|
|
|
|
|
2008-01-24 17:56:09 +01:00
|
|
|
isLiveCD = mkOption {
|
2007-11-09 19:12:23 +01:00
|
|
|
default = false;
|
|
|
|
description = "
|
2008-01-24 17:56:09 +01:00
|
|
|
If set to true, the root device will be mounted read-only and
|
|
|
|
a ramdisk will be mounted on top of it using unionfs to
|
|
|
|
provide a writable root. This is used for the NixOS
|
|
|
|
Live-CD/DVD.
|
2007-11-09 19:12:23 +01:00
|
|
|
";
|
|
|
|
};
|
2006-12-19 23:12:44 +01:00
|
|
|
|
2008-03-24 20:37:32 +01:00
|
|
|
resumeDevice = mkOption {
|
|
|
|
default = "";
|
|
|
|
example = "0:0";
|
|
|
|
description = "
|
|
|
|
Device for manual resume attempt during boot. Looks like
|
2009-02-22 17:08:41 +01:00
|
|
|
major:minor. ls -l /dev/SWAP_PARTION shows them.
|
2008-03-24 20:37:32 +01:00
|
|
|
";
|
|
|
|
};
|
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
hardwareScan = mkOption {
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to try to load kernel modules for all detected hardware.
|
|
|
|
Usually this does a good job of providing you with the modules
|
|
|
|
you need, but sometimes it can crash the system or cause other
|
|
|
|
nasty effects. If the hardware scan is turned on, it can be
|
|
|
|
disabled at boot time by adding the <literal>safemode</literal>
|
|
|
|
parameter to the kernel command line.
|
|
|
|
";
|
|
|
|
};
|
2007-01-22 19:58:04 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
initrd = {
|
|
|
|
|
2008-03-24 20:37:32 +01:00
|
|
|
allowMissing = mkOption {
|
|
|
|
default = false;
|
2008-07-23 16:13:27 +02:00
|
|
|
description = ''
|
|
|
|
Allow some initrd components to be missing. Useful for
|
|
|
|
custom kernel that are changed too often to track needed
|
|
|
|
kernelModules.
|
|
|
|
'';
|
2008-03-24 20:37:32 +01:00
|
|
|
};
|
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
lvm = mkOption {
|
2008-05-09 12:08:21 +02:00
|
|
|
default = true;
|
2007-11-09 19:12:23 +01:00
|
|
|
description = "
|
|
|
|
Whether to include lvm in the initial ramdisk. You should use this option
|
|
|
|
if your ROOT device is on lvm volume.
|
|
|
|
";
|
|
|
|
};
|
2007-03-06 01:45:33 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
enableSplashScreen = mkOption {
|
|
|
|
default = true;
|
|
|
|
description = "
|
|
|
|
Whether to show a nice splash screen while booting.
|
|
|
|
";
|
|
|
|
};
|
2007-06-15 13:40:57 +02:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
copyKernels = mkOption {
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether the Grub menu builder should copy kernels and initial
|
|
|
|
ramdisks to /boot. This is necessary when /nix is on a
|
|
|
|
different file system than /boot.
|
|
|
|
";
|
|
|
|
};
|
2007-06-15 13:40:57 +02:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
localCommands = mkOption {
|
|
|
|
default = "";
|
|
|
|
example = "text=anything; echo You can put $text here.";
|
|
|
|
description = "
|
|
|
|
Shell commands to be executed just before Upstart is started.
|
|
|
|
";
|
|
|
|
};
|
2007-03-04 00:20:08 +01:00
|
|
|
|
2008-01-04 17:11:12 +01:00
|
|
|
extraTTYs = mkOption {
|
|
|
|
default = [];
|
|
|
|
example = [8 9];
|
|
|
|
description = "
|
|
|
|
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
|
|
|
|
<option>boot.extraTTYs</option> to <literal>[7]</literal>.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2006-11-27 16:07:46 +01:00
|
|
|
|
2008-11-18 19:00:09 +01:00
|
|
|
system = {
|
|
|
|
# NSS modules. Hacky!
|
|
|
|
nssModules = mkOption {
|
|
|
|
internal = true;
|
|
|
|
default = [];
|
|
|
|
description = "
|
|
|
|
Search path for NSS (Name Service Switch) modules. This allows
|
|
|
|
several DNS resolution methods to be specified via
|
|
|
|
<filename>/etc/nsswitch.conf</filename>.
|
|
|
|
";
|
|
|
|
merge = pkgs.lib.mergeListOption;
|
|
|
|
apply = list:
|
|
|
|
let
|
|
|
|
list2 =
|
|
|
|
list
|
2008-11-23 02:28:58 +01:00
|
|
|
++ pkgs.lib.optional config.users.ldap.enable pkgs.nss_ldap;
|
2008-11-18 19:00:09 +01:00
|
|
|
in {
|
|
|
|
list = list2;
|
|
|
|
path = pkgs.lib.makeLibraryPath list2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
modulesTree = mkOption {
|
|
|
|
internal = true;
|
|
|
|
default = [];
|
|
|
|
description = "
|
|
|
|
Tree of kernel modules. This includes the kernel, plus modules
|
|
|
|
built outside of the kernel. Combine these into a single tree of
|
|
|
|
symlinks because modprobe only supports one directory.
|
|
|
|
";
|
|
|
|
merge = pkgs.lib.mergeListOption;
|
|
|
|
|
|
|
|
# Convert the list of path to only one path.
|
2009-01-25 16:48:48 +01:00
|
|
|
apply = pkgs.aggregateModules;
|
2008-11-18 19:00:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
sbin = {
|
|
|
|
modprobe = mkOption {
|
|
|
|
# should be moved in module-init-tools
|
|
|
|
internal = true;
|
|
|
|
default = pkgs.substituteAll {
|
|
|
|
dir = "sbin";
|
|
|
|
src = ./modprobe;
|
|
|
|
isExecutable = true;
|
|
|
|
inherit (pkgs) module_init_tools;
|
|
|
|
inherit (config.system) modulesTree;
|
|
|
|
};
|
|
|
|
description = "
|
|
|
|
Path to the modprobe binary used by the system.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
|
|
|
mount = mkOption {
|
|
|
|
internal = true;
|
|
|
|
default = pkgs.utillinux.passthru.function {
|
|
|
|
buildMountOnly = true;
|
|
|
|
mountHelpers = pkgs.buildEnv {
|
|
|
|
name = "mount-helpers";
|
|
|
|
paths = [
|
|
|
|
pkgs.ntfs3g
|
|
|
|
pkgs.mount_cifs
|
|
|
|
];
|
|
|
|
pathsToLink = "/sbin";
|
|
|
|
} + "/sbin";
|
|
|
|
};
|
|
|
|
description = "
|
|
|
|
Install a special version of mount to search mount tools in
|
|
|
|
unusual path.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2006-11-27 16:07:46 +01:00
|
|
|
|
2008-02-04 11:52:58 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
networking = {
|
2007-02-12 17:00:55 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
hostName = mkOption {
|
|
|
|
default = "nixos";
|
2007-12-04 16:02:48 +01:00
|
|
|
description = "
|
|
|
|
The name of the machine. Leave it empty if you want to obtain
|
|
|
|
it from a DHCP server (if using DHCP).
|
|
|
|
";
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2007-02-12 17:00:55 +01:00
|
|
|
|
2008-06-30 17:13:02 +02:00
|
|
|
nativeIPv6 = mkOption {
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
Whether to use IPv6 even though gw6c is not used. For example,
|
2008-07-23 16:13:27 +02:00
|
|
|
for Postfix.
|
2008-06-30 17:13:02 +02:00
|
|
|
";
|
|
|
|
};
|
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
extraHosts = mkOption {
|
|
|
|
default = "";
|
|
|
|
example = "192.168.0.1 lanlocalhost";
|
2008-08-09 14:03:08 +02:00
|
|
|
description = ''
|
|
|
|
Additional entries to be appended to <filename>/etc/hosts</filename>.
|
|
|
|
'';
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2007-03-04 00:20:08 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
defaultGateway = mkOption {
|
|
|
|
default = "";
|
|
|
|
example = "131.211.84.1";
|
|
|
|
description = "
|
|
|
|
The default gateway. It can be left empty if it is auto-detected through DHCP.
|
|
|
|
";
|
|
|
|
};
|
2007-08-14 18:43:56 +02:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
nameservers = mkOption {
|
|
|
|
default = [];
|
|
|
|
example = ["130.161.158.4" "130.161.33.17"];
|
|
|
|
description = "
|
|
|
|
The list of nameservers. It can be left empty if it is auto-detected through DHCP.
|
|
|
|
";
|
|
|
|
};
|
2007-08-14 18:43:56 +02:00
|
|
|
|
2007-11-23 18:12:37 +01:00
|
|
|
domain = mkOption {
|
|
|
|
default = "";
|
|
|
|
example = "home";
|
|
|
|
description = "
|
|
|
|
The domain. It can be left empty if it is auto-detected through DHCP.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
localCommands = mkOption {
|
|
|
|
default = "";
|
|
|
|
example = "text=anything; echo You can put $text here.";
|
|
|
|
description = "
|
|
|
|
Shell commands to be executed at the end of the
|
|
|
|
<literal>network-interfaces</literal> Upstart job. Note that if
|
|
|
|
you are using DHCP to obtain the network configuration,
|
|
|
|
interfaces may not be fully configured yet.
|
|
|
|
";
|
|
|
|
};
|
2007-08-14 18:43:56 +02:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
interfaceMonitor = {
|
2007-11-08 19:15:12 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
enable = mkOption {
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
If <literal>true</literal>, monitor Ethernet interfaces for
|
|
|
|
cables being plugged in or unplugged. When this occurs, the
|
|
|
|
<command>dhclient</command> service is restarted to
|
|
|
|
automatically obtain a new IP address. This is useful for
|
|
|
|
roaming users (laptops).
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
|
|
|
beep = mkOption {
|
|
|
|
default = false;
|
|
|
|
description = "
|
|
|
|
If <literal>true</literal>, beep when an Ethernet cable is
|
|
|
|
plugged in or unplugged.
|
|
|
|
";
|
|
|
|
};
|
2007-11-08 19:15:12 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2007-11-08 19:15:12 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
defaultMailServer = {
|
2007-11-08 19:15:12 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
directDelivery = mkOption {
|
|
|
|
default = false;
|
|
|
|
example = true;
|
|
|
|
description = "
|
|
|
|
Use the trivial Mail Transfer Agent (MTA)
|
|
|
|
<command>ssmtp</command> package to allow programs to send
|
2007-11-10 14:35:15 +01:00
|
|
|
e-mail. If you don't want to run a ``real'' MTA like
|
2007-11-09 19:12:23 +01:00
|
|
|
<command>sendmail</command> or <command>postfix</command> on
|
|
|
|
your machine, set this option to <literal>true</literal>, and
|
|
|
|
set the option
|
|
|
|
<option>networking.defaultMailServer.hostName</option> to the
|
|
|
|
host name of your preferred mail server.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
|
|
|
hostName = mkOption {
|
|
|
|
example = "mail.example.org";
|
|
|
|
description = "
|
|
|
|
The host name of the default mail server to use to deliver
|
|
|
|
e-mail.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
2007-11-23 18:12:37 +01:00
|
|
|
domain = mkOption {
|
|
|
|
default = "";
|
|
|
|
example = "example.org";
|
|
|
|
description = "
|
|
|
|
The domain from which mail will appear to be sent.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
useTLS = mkOption {
|
|
|
|
default = false;
|
|
|
|
example = true;
|
|
|
|
description = "
|
|
|
|
Whether TLS should be used to connect to the default mail
|
|
|
|
server.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
|
|
|
useSTARTTLS = mkOption {
|
|
|
|
default = false;
|
|
|
|
example = true;
|
|
|
|
description = "
|
|
|
|
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.)
|
|
|
|
";
|
|
|
|
};
|
2007-11-08 19:15:12 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2007-11-08 19:15:12 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2007-11-08 19:15:12 +01:00
|
|
|
|
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
fileSystems = mkOption {
|
2006-12-21 02:07:23 +01:00
|
|
|
default = [];
|
2006-11-27 16:07:46 +01:00
|
|
|
example = [
|
2006-12-21 01:16:20 +01:00
|
|
|
{ mountPoint = "/";
|
|
|
|
device = "/dev/hda1";
|
|
|
|
}
|
|
|
|
{ mountPoint = "/data";
|
|
|
|
device = "/dev/hda2";
|
2006-12-21 15:44:22 +01:00
|
|
|
fsType = "ext3";
|
2006-12-21 01:16:20 +01:00
|
|
|
options = "data=journal";
|
2006-11-27 16:07:46 +01:00
|
|
|
}
|
2007-01-10 14:58:48 +01:00
|
|
|
{ mountPoint = "/bigdisk";
|
|
|
|
label = "bigdisk";
|
|
|
|
}
|
2006-11-27 16:07:46 +01:00
|
|
|
];
|
|
|
|
description = "
|
2006-12-21 01:16:20 +01:00
|
|
|
The file systems to be mounted. It must include an entry for
|
2008-08-09 01:01:30 +02:00
|
|
|
the root directory (<literal>mountPoint = \"/\"</literal>). Each
|
2006-12-21 02:07:23 +01:00
|
|
|
entry in the list is an attribute set with the following fields:
|
|
|
|
<literal>mountPoint</literal>, <literal>device</literal>,
|
2006-12-21 15:44:22 +01:00
|
|
|
<literal>fsType</literal> (a file system type recognised by
|
2006-12-21 02:07:23 +01:00
|
|
|
<command>mount</command>; defaults to
|
2006-12-21 15:44:22 +01:00
|
|
|
<literal>\"auto\"</literal>), and <literal>options</literal>
|
|
|
|
(the mount options passed to <command>mount</command> using the
|
|
|
|
<option>-o</option> flag; defaults to <literal>\"defaults\"</literal>).
|
2007-01-10 14:58:48 +01:00
|
|
|
|
|
|
|
Instead of specifying <literal>device</literal>, you can also
|
2007-01-23 12:18:23 +01:00
|
|
|
specify a volume label (<literal>label</literal>) for file
|
2007-01-10 14:58:48 +01:00
|
|
|
systems that support it, such as ext2/ext3 (see <command>mke2fs
|
|
|
|
-L</command>).
|
2007-12-31 09:52:59 +01:00
|
|
|
|
|
|
|
<literal>autocreate</literal> forces <literal>mountPoint</literal> to be created with
|
|
|
|
<command>mkdir -p</command> .
|
2006-11-27 16:07:46 +01:00
|
|
|
";
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2006-11-27 16:07:46 +01:00
|
|
|
|
2006-12-18 18:41:57 +01:00
|
|
|
|
2007-11-09 19:12:23 +01:00
|
|
|
swapDevices = mkOption {
|
2006-12-21 02:07:23 +01:00
|
|
|
default = [];
|
2007-01-10 14:07:57 +01:00
|
|
|
example = [
|
2007-11-09 19:12:23 +01:00
|
|
|
{ device = "/dev/hda7"; }
|
|
|
|
{ device = "/var/swapfile"; }
|
|
|
|
{ label = "bigswap"; }
|
2007-01-10 14:07:57 +01:00
|
|
|
];
|
2006-12-21 02:07:23 +01:00
|
|
|
description = "
|
|
|
|
The swap devices and swap files. These must have been
|
2007-01-10 14:07:57 +01:00
|
|
|
initialised using <command>mkswap</command>. Each element
|
|
|
|
should be an attribute set specifying either the path of the
|
|
|
|
swap device or file (<literal>device</literal>) or the label
|
|
|
|
of the swap device (<literal>label</literal>, see
|
2007-01-23 12:06:31 +01:00
|
|
|
<command>mkswap -L</command>). Using a label is
|
2007-01-10 14:07:57 +01:00
|
|
|
recommended.
|
2006-12-21 02:07:23 +01:00
|
|
|
";
|
2007-11-09 19:12:23 +01:00
|
|
|
};
|
2006-12-21 02:07:23 +01:00
|
|
|
|
2007-12-20 12:36:30 +01:00
|
|
|
nesting = {
|
2008-01-02 14:05:24 +01:00
|
|
|
children = mkOption {
|
|
|
|
default = [];
|
2008-01-02 16:31:04 +01:00
|
|
|
description = "
|
2008-01-02 14:05:24 +01:00
|
|
|
Additional configurations to build.
|
2008-01-02 16:31:04 +01:00
|
|
|
";
|
2008-01-02 14:05:24 +01:00
|
|
|
};
|
2007-12-20 12:36:30 +01:00
|
|
|
};
|
2007-11-09 19:12:23 +01:00
|
|
|
|
2009-02-22 17:08:33 +01:00
|
|
|
|
2008-10-01 17:56:01 +02:00
|
|
|
passthru = mkOption {
|
|
|
|
default = {};
|
|
|
|
description = "
|
|
|
|
Additional parameters. Ignored. When you want to be sure that
|
|
|
|
/etc/nixos/nixos -A config.passthru.* is that same thing the
|
|
|
|
system rebuild will use.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
|
2008-08-27 16:01:17 +02:00
|
|
|
require = [
|
2009-01-02 17:07:30 +01:00
|
|
|
# boot (is it the right place ?)
|
2009-01-25 16:48:48 +01:00
|
|
|
(import ../system/kernel.nix)
|
2009-01-02 17:07:30 +01:00
|
|
|
(import ../boot/boot-stage-2.nix)
|
2009-01-02 17:07:34 +01:00
|
|
|
(import ../installer/grub.nix)
|
2009-01-02 17:07:30 +01:00
|
|
|
|
2008-11-18 19:00:09 +01:00
|
|
|
# system
|
2009-01-02 17:06:46 +01:00
|
|
|
(import ../system/system-options.nix)
|
|
|
|
(import ../system/activate-configuration.nix)
|
2008-11-18 19:00:09 +01:00
|
|
|
(import ../upstart-jobs/default.nix)
|
|
|
|
|
2009-03-06 13:25:25 +01:00
|
|
|
(import ../upstart-jobs/acpid.nix) # ACPI daemon
|
|
|
|
|
2009-03-06 13:25:33 +01:00
|
|
|
(import ../system/unix-odbc-drivers.nix)
|
|
|
|
|
2009-03-06 13:27:23 +01:00
|
|
|
(import ../upstart-jobs/klogd.nix)
|
|
|
|
|
2009-03-06 13:27:28 +01:00
|
|
|
(import ../upstart-jobs/lvm.nix) # Makes LVM logical volumes available.
|
|
|
|
|
2009-03-06 13:27:30 +01:00
|
|
|
(import ../upstart-jobs/swraid.nix) # Activate software RAID arrays.
|
2009-03-06 13:27:23 +01:00
|
|
|
|
2009-03-06 13:27:33 +01:00
|
|
|
(import ../upstart-jobs/filesystems.nix) # Mount file systems.
|
|
|
|
|
2009-03-06 13:27:35 +01:00
|
|
|
(import ../upstart-jobs/swap.nix)
|
|
|
|
|
2009-03-06 13:25:33 +01:00
|
|
|
|
2009-01-02 17:07:15 +01:00
|
|
|
# security
|
|
|
|
(import ../system/sudo.nix)
|
|
|
|
|
2009-03-06 13:25:38 +01:00
|
|
|
# i18n
|
|
|
|
(import ../system/i18n.nix)
|
|
|
|
|
2009-01-02 17:06:52 +01:00
|
|
|
# environment
|
|
|
|
(import ../etc/default.nix)
|
|
|
|
|
2009-03-06 13:25:35 +01:00
|
|
|
(import ../system/nixos-environment.nix)
|
|
|
|
|
2009-01-02 17:07:01 +01:00
|
|
|
# users
|
|
|
|
(import ../system/users-groups.nix)
|
|
|
|
|
2008-11-08 22:45:58 +01:00
|
|
|
# newtworking
|
|
|
|
(import ../upstart-jobs/dhclient.nix)
|
2008-11-09 17:44:43 +01:00
|
|
|
|
2008-11-08 22:45:58 +01:00
|
|
|
# hardware
|
2008-08-27 16:01:17 +02:00
|
|
|
(import ../upstart-jobs/pcmcia.nix)
|
2008-11-09 17:44:43 +01:00
|
|
|
|
2009-03-06 13:25:46 +01:00
|
|
|
# security
|
|
|
|
(import ../system/nixos-security.nix)
|
|
|
|
|
2008-11-09 17:44:43 +01:00
|
|
|
# services
|
2008-11-23 02:28:58 +01:00
|
|
|
(import ../upstart-jobs/avahi-daemon.nix)
|
2009-01-02 17:07:10 +01:00
|
|
|
(import ../upstart-jobs/atd.nix)
|
2008-11-23 02:28:58 +01:00
|
|
|
(import ../upstart-jobs/dbus.nix)
|
2008-11-23 02:28:52 +01:00
|
|
|
(import ../upstart-jobs/hal.nix)
|
2008-11-23 02:28:45 +01:00
|
|
|
(import ../upstart-jobs/gpm.nix)
|
2008-11-23 02:28:34 +01:00
|
|
|
(import ../upstart-jobs/nagios/default.nix)
|
2009-01-25 16:49:08 +01:00
|
|
|
(import ../upstart-jobs/xserver/default.nix)
|
2008-11-18 19:00:21 +01:00
|
|
|
(import ../upstart-jobs/zabbix-agent.nix)
|
2008-11-23 02:28:25 +01:00
|
|
|
(import ../upstart-jobs/zabbix-server.nix)
|
2008-11-18 19:00:15 +01:00
|
|
|
(import ../upstart-jobs/disnix.nix)
|
2008-11-09 17:44:43 +01:00
|
|
|
(import ../upstart-jobs/cron.nix)
|
2009-01-02 20:41:39 +01:00
|
|
|
(import ../upstart-jobs/fcron.nix)
|
2008-11-09 17:44:53 +01:00
|
|
|
(import ../upstart-jobs/cron/locate.nix)
|
2009-02-22 17:06:42 +01:00
|
|
|
(import ../upstart-jobs/manual.nix)
|
2009-02-22 17:06:47 +01:00
|
|
|
(import ../upstart-jobs/rogue.nix)
|
2009-02-22 17:06:52 +01:00
|
|
|
(import ../upstart-jobs/guest-users.nix)
|
2009-02-22 17:07:42 +01:00
|
|
|
(import ../upstart-jobs/pulseaudio.nix)
|
2009-03-06 13:25:38 +01:00
|
|
|
(import ../upstart-jobs/kbd.nix)
|
2009-03-06 13:25:48 +01:00
|
|
|
(import ../upstart-jobs/gw6c.nix) # Gateway6
|
2009-03-06 13:25:57 +01:00
|
|
|
(import ../upstart-jobs/syslogd.nix)
|
2009-03-06 13:26:05 +01:00
|
|
|
(import ../upstart-jobs/dhcpd.nix)
|
2009-03-06 13:26:08 +01:00
|
|
|
(import ../upstart-jobs/sshd.nix)
|
2009-03-06 13:26:10 +01:00
|
|
|
(import ../upstart-jobs/lshd.nix) # GNU lshd SSH2 deamon (TODO: does neither start nor generate seed file ?)
|
2009-03-06 13:26:19 +01:00
|
|
|
(import ../upstart-jobs/ntpd.nix)
|
2009-03-06 13:26:22 +01:00
|
|
|
(import ../upstart-jobs/portmap.nix)
|
2009-03-06 13:26:24 +01:00
|
|
|
(import ../upstart-jobs/bitlbee.nix)
|
2009-03-06 13:26:26 +01:00
|
|
|
(import ../upstart-jobs/gnunet.nix)
|
2009-03-06 13:26:29 +01:00
|
|
|
(import ../upstart-jobs/ejabberd.nix) # untested, dosen't compile on x86_64-linux
|
2009-03-06 13:26:31 +01:00
|
|
|
(import ../upstart-jobs/jboss.nix)
|
2009-03-06 13:26:34 +01:00
|
|
|
(import ../upstart-jobs/tomcat.nix) # untested, too lazy to get that jdk
|
2009-03-06 13:26:41 +01:00
|
|
|
(import ../upstart-jobs/httpd.nix) # Apache httpd (probably this can be removed ?)
|
|
|
|
(import ../upstart-jobs/apache-httpd) # Apache httpd (new style).
|
2009-03-06 13:26:43 +01:00
|
|
|
(import ../upstart-jobs/vsftpd.nix)
|
2009-03-06 13:26:46 +01:00
|
|
|
(import ../upstart-jobs/cupsd.nix) # CUPS printing daemon
|
2009-03-06 13:26:48 +01:00
|
|
|
(import ../upstart-jobs/udev.nix) # The udev daemon creates devices nodes and runs programs when hardware events occur.
|
2009-03-06 13:26:50 +01:00
|
|
|
(import ../upstart-jobs/samba.nix) # TODO: doesn't start here (?)
|
2009-03-06 13:26:55 +01:00
|
|
|
(import ../upstart-jobs/ircd-hybrid.nix) # TODO: doesn't compile on x86_64-linux, can't test
|
2009-03-06 13:27:20 +01:00
|
|
|
(import ../upstart-jobs/xfs.nix) # FIXME (assertion)
|
2009-03-06 13:27:00 +01:00
|
|
|
(import ../upstart-jobs/mysql.nix)
|
2009-03-06 13:27:02 +01:00
|
|
|
(import ../upstart-jobs/postgresql.nix)
|
2009-03-06 13:27:20 +01:00
|
|
|
(import ../upstart-jobs/openfire.nix) # FIXME (assertion)
|
2009-03-06 13:27:07 +01:00
|
|
|
(import ../upstart-jobs/postfix.nix)
|
2009-03-06 13:27:10 +01:00
|
|
|
(import ../upstart-jobs/dovecot.nix)
|
2009-03-06 13:27:13 +01:00
|
|
|
(import ../upstart-jobs/bind.nix)
|
2009-03-06 13:27:20 +01:00
|
|
|
|
2009-03-06 13:27:15 +01:00
|
|
|
(import ../upstart-jobs/mingetty.nix) # The terminals on ttyX.
|
2009-03-06 13:27:20 +01:00
|
|
|
(import ../upstart-jobs/tty-backgrounds.nix) #FIXME (assertion)
|
2009-03-06 13:25:48 +01:00
|
|
|
|
2009-03-06 13:26:01 +01:00
|
|
|
# nix
|
2009-03-06 13:25:51 +01:00
|
|
|
(import ../upstart-jobs/nix.nix) # nix options and daemon
|
2009-03-06 13:25:53 +01:00
|
|
|
(import ../system/nixos-installer.nix)
|
2009-03-06 13:25:51 +01:00
|
|
|
|
2009-03-06 13:25:38 +01:00
|
|
|
|
2009-03-06 13:25:44 +01:00
|
|
|
#users
|
|
|
|
(import ../upstart-jobs/ldap)
|
|
|
|
|
2009-03-06 13:25:38 +01:00
|
|
|
|
2008-11-23 02:29:05 +01:00
|
|
|
|
2009-01-02 17:07:39 +01:00
|
|
|
# fonts
|
|
|
|
(import ../system/fonts.nix)
|
|
|
|
|
2008-11-23 02:29:05 +01:00
|
|
|
# sound
|
|
|
|
(import ../upstart-jobs/alsa.nix)
|
2008-08-27 16:01:17 +02:00
|
|
|
];
|
2007-11-09 19:12:23 +01:00
|
|
|
}
|