summary refs log blame commit diff
path: root/modules/misc/nixpkgs.nix
blob: 154c619bd3694e9b987fd55285d7a793f09c9df7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                         










                                                                        
    
 
{ 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.
      '';
    };

  };
}