2009-08-26 18:52:38 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
|
|
|
|
nixpkgs.config = pkgs.lib.mkOption {
|
|
|
|
default = {};
|
|
|
|
example = {
|
|
|
|
firefox.enableGeckoMediaPlayer = true;
|
|
|
|
};
|
|
|
|
description = ''
|
|
|
|
The configuration of the Nix Packages collection.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2010-11-23 17:07:00 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2009-08-26 18:52:38 +02:00
|
|
|
};
|
2010-02-27 19:37:12 +01:00
|
|
|
}
|