binfmt.golang

Whether to enable golang.

type

boolean

example

{
  binfmt.golang = true;
}

default

{
  binfmt.golang = false;
}

binfmt.java

Whether to enable java binfmt.

type

boolean

example

{
  binfmt.java = true;
}

default

{
  binfmt.java = false;
}

binfmt.racket

Whether to enable racket.

type

boolean

example

{
  binfmt.racket = true;
}

default

{
  binfmt.racket = false;
}

binfmt.tcc

Whether to enable tcc.

type

boolean

example

{
  binfmt.tcc = true;
}

default

{
  binfmt.tcc = false;
}

binfmt.wine

Whether to enable wine.

type

boolean

example

{
  binfmt.wine = true;
}

default

{
  binfmt.wine = false;
}

environment.files

Unsafe file management with the API of environment.etc, but usable everywhere

type

attribute set of submodule

default

{
  environment.files = {};
}

environment.files.<name>.directories

type

attribute set of submodule

default

{
  environment.files.<name>.directories = {};
}

environment.files.<name>.directories.<name>.enable

Whether this file should be generated. This option allows specific files to be disabled.

type

boolean

default

{
  environment.files.<name>.directories.<name>.enable = true;
}

environment.files.<name>.directories.<name>.gid

GID of created file.

type

null or signed integer

default

{
  environment.files.<name>.directories.<name>.gid = null;
}

environment.files.<name>.directories.<name>.group

Group name of created file. Changing this option takes precedence over gid.

type

null or string

default

{
  environment.files.<name>.directories.<name>.group = null;
}

environment.files.<name>.directories.<name>.mode

type

null or string

example

{
  environment.files.<name>.directories.<name>.mode = "0600";
}

default

{
  environment.files.<name>.directories.<name>.mode = null;
}

environment.files.<name>.directories.<name>.source

Path of the source file.

type

null or path

default

{
  environment.files.<name>.directories.<name>.source = null;
}

environment.files.<name>.directories.<name>.uid

UID of created file.

type

null or signed integer

default

{
  environment.files.<name>.directories.<name>.uid = null;
}

environment.files.<name>.directories.<name>.user

User name of created file. Changing this option takes precedence over uid.

type

null or string

default

{
  environment.files.<name>.directories.<name>.user = null;
}

environment.files.<name>.files

type

attribute set of submodule

default

{
  environment.files.<name>.files = {};
}

environment.files.<name>.files.<name>.enable

Whether this file should be generated. This option allows specific files to be disabled.

type

boolean

default

{
  environment.files.<name>.files.<name>.enable = true;
}

environment.files.<name>.files.<name>.gid

GID of created file.

type

null or signed integer

default

{
  environment.files.<name>.files.<name>.gid = null;
}

environment.files.<name>.files.<name>.group

Group name of created file. Changing this option takes precedence over gid.

type

null or string

default

{
  environment.files.<name>.files.<name>.group = null;
}

environment.files.<name>.files.<name>.mode

type

null or string

example

{
  environment.files.<name>.files.<name>.mode = "0600";
}

default

{
  environment.files.<name>.files.<name>.mode = null;
}

environment.files.<name>.files.<name>.source

Path of the source file.

type

path

environment.files.<name>.files.<name>.text

Text of the file.

type

null or strings concatenated with "\n"

default

{
  environment.files.<name>.files.<name>.text = null;
}

environment.files.<name>.files.<name>.uid

UID of created file.

type

null or signed integer

default

{
  environment.files.<name>.files.<name>.uid = null;
}

environment.files.<name>.files.<name>.user

User name of created file. Changing this option takes precedence over uid.

type

null or string

default

{
  environment.files.<name>.files.<name>.user = null;
}

environment.files.<name>.root

type

string

default

{
  environment.files.<name>.root = "";
}

services.auto-tinc.networks

type

attribute set of submodule

default

{
  services.auto-tinc.networks = {};
}

services.auto-tinc.networks.<name>.package

type

package

default

{
  services.auto-tinc.networks.<name>.package = {
    drvPath = "tinc-1.1pre18";
    name = "tinc-1.1pre18";
    outPath = "tinc-1.1pre18";
    type = "derivation";
  };
}

services.auto-tinc.networks.<name>.entry

type

list of string

services.auto-tinc.networks.<name>.hostDNS

Whether to enable Host DNS server for this network on this node.

type

boolean

example

{
  services.auto-tinc.networks.<name>.hostDNS = true;
}

default

{
  services.auto-tinc.networks.<name>.hostDNS = false;
}

services.auto-tinc.networks.<name>.hosts

type

attribute set of submodule

default

{
  services.auto-tinc.networks.<name>.hosts = {};
}

services.auto-tinc.networks.<name>.hosts.<name>.config

type

string

default

{
  services.auto-tinc.networks.<name>.hosts.<name>.config = "";
}

services.auto-tinc.networks.<name>.hosts.<name>.ipv4Suffix

type

null or string

default

{
  services.auto-tinc.networks.<name>.hosts.<name>.ipv4Suffix = null;
}

services.auto-tinc.networks.<name>.hosts.<name>.ipv6Suffix

type

null or string

default

{
  services.auto-tinc.networks.<name>.hosts.<name>.ipv6Suffix = null;
}

services.auto-tinc.networks.<name>.ipv4Prefix

type

null or string

default

{
  services.auto-tinc.networks.<name>.ipv4Prefix = null;
}

services.auto-tinc.networks.<name>.ipv6Prefix

type

null or string

default

{
  services.auto-tinc.networks.<name>.ipv6Prefix = "fd7f:8482:73b2::";
}

services.auto-tinc.networks.<name>.trusted

type

boolean

default

{
  services.auto-tinc.networks.<name>.trusted = false;
}

services.duplicity.enable

Whether to enable duplicity.

type

boolean

example

{
  services.duplicity.enable = true;
}

default

{
  services.duplicity.enable = false;
}

services.duplicity.package

type

package

default

{
  services.duplicity.package = {
    drvPath = "duplicity-0.8.20";
    name = "duplicity-0.8.20";
    outPath = "duplicity-0.8.20";
    type = "derivation";
  };
}

services.duplicity.cpuQuota

type

signed integer

default

{
  services.duplicity.cpuQuota = 75;
}

services.duplicity.stateDir

type

path

default

{
  services.duplicity.stateDir = "/var/lib/duplicity";
}

services.duplicity.stores

type

attribute set of submodule

default

{
  services.duplicity.stores = {};
}

services.duplicity.stores.<name>.dir

type

string

services.duplicity.stores.<name>.exclude

type

list of string

default

{
  services.duplicity.stores.<name>.exclude = [];
}

services.duplicity.stores.<name>.expiration

type

string

default

{
  services.duplicity.stores.<name>.expiration = "30D";
}

services.duplicity.stores.<name>.extraArgs

type

list of string

default

{
  services.duplicity.stores.<name>.extraArgs = [];
}

services.duplicity.stores.<name>.include

type

list of string

default

{
  services.duplicity.stores.<name>.include = [];
}

services.duplicity.stores.<name>.numFullToKeep

type

signed integer

default

{
  services.duplicity.stores.<name>.numFullToKeep = 3;
}

services.duplicity.stores.<name>.numRetries

type

signed integer

default

{
  services.duplicity.stores.<name>.numRetries = 3;
}

services.duplicity.stores.<name>.postHook

type

string

default

{
  services.duplicity.stores.<name>.postHook = "";
}

services.duplicity.stores.<name>.preHook

type

string

default

{
  services.duplicity.stores.<name>.preHook = "";
}

services.duplicity.stores.<name>.remote

type

string

services.duplicity.stores.<name>.time

type

string

default

{
  services.duplicity.stores.<name>.time = "04:04";
}

services.duplicity.stores.<name>.volSize

type

signed integer

default

{
  services.duplicity.stores.<name>.volSize = 250;
}

services.hydra-poll.jobs

type

attribute set of submodule

default

{
  services.hydra-poll.jobs = {};
}

services.hydra-poll.jobs.<name>.endpoint.name

type

Concatenated string

services.hydra-poll.jobs.<name>.endpoint.url

type

Concatenated string

services.hydra-poll.jobs.<name>.interval

type

Concatenated string

services.hydra-poll.jobs.<name>.job

type

Concatenated string

services.hydra-poll.jobs.<name>.jobset

type

Concatenated string

services.hydra-poll.jobs.<name>.project

type

Concatenated string

services.hydra-poll.jobs.<name>.root

type

path

services.unison.enable

Whether to enable unison.

type

boolean

example

{
  services.unison.enable = true;
}

default

{
  services.unison.enable = false;
}

services.unison.package

type

package

default

{
  services.unison.package = {
    drvPath = "unison-2.52.0";
    name = "unison-2.52.0";
    outPath = "unison-2.52.0";
    type = "derivation";
  };
}

services.unison.cpuQuota

type

signed integer

default

{
  services.unison.cpuQuota = 75;
}

services.unison.profiles

type

attribute set of attribute set

default

{
  services.unison.profiles = {};
}

services.unison.stateDir

type

path

default

{
  services.unison.stateDir = "/var/lib/unison";
}