Merge remote-tracking branch 'nixos/master' into feature/add-znc-module

Conflicts:
	nixos/modules/misc/ids.nix
This commit is contained in:
Alex Berg
2014-07-03 11:30:11 -05:00
324 changed files with 4508 additions and 1167 deletions
+6 -5
View File
@@ -1,19 +1,19 @@
# This module defines the global list of uids and gids. We keep a
# central list to prevent id collisions.
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
options = {
ids.uids = pkgs.lib.mkOption {
ids.uids = lib.mkOption {
internal = true;
description = ''
The user IDs used in NixOS.
'';
};
ids.gids = pkgs.lib.mkOption {
ids.gids = lib.mkOption {
internal = true;
description = ''
The group IDs used in NixOS.
@@ -134,7 +134,8 @@
teamspeak = 124;
influxdb = 125;
nsd = 126;
znc = 127;
gitolite = 127;
znc = 128;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@@ -243,7 +244,7 @@
teamspeak = 124;
influxdb = 125;
nsd = 126;
znc = 127;
znc = 128;
# When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399!
+3 -3
View File
@@ -1,11 +1,11 @@
{ config, pkgs, ... }:
{ config, lib, ... }:
{
options = {
lib = pkgs.lib.mkOption {
lib = lib.mkOption {
default = {};
type = pkgs.lib.types.attrsOf pkgs.lib.types.attrs;
type = lib.types.attrsOf lib.types.attrs;
description = ''
This option allows modules to define helper functions, constants, etc.
+2 -2
View File
@@ -1,11 +1,11 @@
# This module allows you to export something from configuration
# Use case: export kernel source expression for ease of configuring
{ config, pkgs, ... }:
{ config, lib, ... }:
{
options = {
passthru = pkgs.lib.mkOption {
passthru = lib.mkOption {
visible = false;
description = ''
This attribute set will be exported as a system attribute.