25b9c03571
to date for nixpkgs) svn path=/nixos/branches/stdenv-updates/; revision=24871
29 lines
718 B
Nix
29 lines
718 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
options = {
|
|
|
|
nixpkgs.config = pkgs.lib.mkOption {
|
|
default = {};
|
|
example = {
|
|
firefox.enableGeckoMediaPlayer = true;
|
|
};
|
|
description = ''
|
|
The configuration of the Nix Packages collection.
|
|
'';
|
|
};
|
|
|
|
nixpkgs.system = pkgs.lib.mkOption {
|
|
default = "";
|
|
description = ''
|
|
Specifies the Nix platform type for which NixOS should be built.
|
|
If unset, it defaults to the platform type of your host system
|
|
(<literal>${builtins.currentSystem}</literal>).
|
|
Specifying this option is useful when doing distributed
|
|
multi-platform deployment, or when building virtual machines.
|
|
'';
|
|
};
|
|
|
|
};
|
|
}
|