nixpkgs-suyu/modules/misc/nixpkgs.nix
Lluís Batlle i Rossell 9002335101 Making nixos handle the nixpkgs 'platform' parameter.
svn path=/nixos/trunk/; revision=20274
2010-02-27 18:37:12 +00:00

24 lines
455 B
Nix

{ config, pkgs, ... }:
{
options = {
nixpkgs.config = pkgs.lib.mkOption {
default = {};
example = {
firefox.enableGeckoMediaPlayer = true;
};
description = ''
The configuration of the Nix Packages collection.
'';
};
nixpkgs.platform = pkgs.lib.mkOption {
default = pkgs.platforms.pc;
description = ''
The platform for the Nix Packages collection.
'';
};
};
}