3
0
Fork 0
forked from mirrors/nixpkgs

nixos: add some missing '.' in option descriptions

This commit is contained in:
Bjørn Forsman 2014-06-24 21:23:14 +02:00
parent f78ce19d8c
commit 4def9a762f
4 changed files with 19 additions and 19 deletions

View file

@ -32,12 +32,12 @@ in
kdc = mkOption { kdc = mkOption {
default = "kerberos.mit.edu"; default = "kerberos.mit.edu";
description = "Kerberos Domain Controller"; description = "Kerberos Domain Controller.";
}; };
kerberosAdminServer = mkOption { kerberosAdminServer = mkOption {
default = "kerberos.mit.edu"; default = "kerberos.mit.edu";
description = "Kerberos Admin Server"; description = "Kerberos Admin Server.";
}; };
}; };

View file

@ -22,7 +22,7 @@ in
interval = 5; interval = 5;
}; };
description = '' description = ''
Parameters to be written to <filename>/etc/atoprc</filename> Parameters to be written to <filename>/etc/atoprc</filename>.
''; '';
}; };

View file

@ -50,7 +50,7 @@ in
user = mkOption { user = mkOption {
default = "redis"; default = "redis";
description = "User account under which Redis runs"; description = "User account under which Redis runs.";
}; };
pidFile = mkOption { pidFile = mkOption {
@ -60,26 +60,26 @@ in
port = mkOption { port = mkOption {
default = 6379; default = 6379;
description = "The port for Redis to listen to"; description = "The port for Redis to listen to.";
type = with types; int; type = with types; int;
}; };
bind = mkOption { bind = mkOption {
default = null; # All interfaces default = null; # All interfaces
description = "The IP interface to bind to"; description = "The IP interface to bind to.";
example = "127.0.0.1"; example = "127.0.0.1";
}; };
unixSocket = mkOption { unixSocket = mkOption {
default = null; default = null;
description = "The path to the socket to bind to"; description = "The path to the socket to bind to.";
example = "/var/run/redis.sock"; example = "/var/run/redis.sock";
}; };
logLevel = mkOption { logLevel = mkOption {
default = "notice"; # debug, verbose, notice, warning default = "notice"; # debug, verbose, notice, warning
example = "debug"; example = "debug";
description = "Specify the server verbosity level, options: debug, verbose, notice, warning"; description = "Specify the server verbosity level, options: debug, verbose, notice, warning.";
type = with types; string; type = with types; string;
}; };
@ -110,19 +110,19 @@ in
dbFilename = mkOption { dbFilename = mkOption {
default = "dump.rdb"; default = "dump.rdb";
description = "The filename where to dump the DB"; description = "The filename where to dump the DB.";
type = with types; string; type = with types; string;
}; };
dbpath = mkOption { dbpath = mkOption {
default = "/var/lib/redis"; default = "/var/lib/redis";
description = "The DB will be written inside this directory, with the filename specified using the 'dbFilename' configuration"; description = "The DB will be written inside this directory, with the filename specified using the 'dbFilename' configuration.";
type = with types; string; type = with types; string;
}; };
slaveOf = mkOption { slaveOf = mkOption {
default = null; # { ip, port } default = null; # { ip, port }
description = "An attribute set with two attributes: ip and port to which this redis instance acts as a slave"; description = "An attribute set with two attributes: ip and port to which this redis instance acts as a slave.";
example = { ip = "192.168.1.100"; port = 6379; }; example = { ip = "192.168.1.100"; port = 6379; };
}; };
@ -154,26 +154,26 @@ in
appendFsync = mkOption { appendFsync = mkOption {
default = "everysec"; # no, always, everysec default = "everysec"; # no, always, everysec
description = "How often to fsync the append-only log, options: no, always, everysec"; description = "How often to fsync the append-only log, options: no, always, everysec.";
type = with types; string; type = with types; string;
}; };
slowLogLogSlowerThan = mkOption { slowLogLogSlowerThan = mkOption {
default = 10000; default = 10000;
description = "Log queries whose execution take longer than X in milliseconds"; description = "Log queries whose execution take longer than X in milliseconds.";
example = 1000; example = 1000;
type = with types; int; type = with types; int;
}; };
slowLogMaxLen = mkOption { slowLogMaxLen = mkOption {
default = 128; default = 128;
description = "Maximum number of items to keep in slow log"; description = "Maximum number of items to keep in slow log.";
type = with types; int; type = with types; int;
}; };
extraConfig = mkOption { extraConfig = mkOption {
default = ""; default = "";
description = "Extra configuration options for redis.conf"; description = "Extra configuration options for redis.conf.";
type = with types; string; type = with types; string;
}; };
}; };

View file

@ -16,28 +16,28 @@ let
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.bool; type = types.bool;
description = "The block device is backed by an encrypted one, adds this device as a initrd luks entry"; description = "The block device is backed by an encrypted one, adds this device as a initrd luks entry.";
}; };
blkDev = mkOption { blkDev = mkOption {
default = null; default = null;
example = "/dev/sda1"; example = "/dev/sda1";
type = types.uniq (types.nullOr types.string); type = types.uniq (types.nullOr types.string);
description = "Location of the backing encrypted device"; description = "Location of the backing encrypted device.";
}; };
label = mkOption { label = mkOption {
default = null; default = null;
example = "rootfs"; example = "rootfs";
type = types.uniq (types.nullOr types.string); type = types.uniq (types.nullOr types.string);
description = "Label of the backing encrypted device"; description = "Label of the backing encrypted device.";
}; };
keyFile = mkOption { keyFile = mkOption {
default = null; default = null;
example = "/root/.swapkey"; example = "/root/.swapkey";
type = types.uniq (types.nullOr types.string); type = types.uniq (types.nullOr types.string);
description = "File system location of keyfile"; description = "File system location of keyfile.";
}; };
}; };
}; };