apple: enable facetimehd if allowUnfree = true

This commit is contained in:
Yegor Timoshenko 2017-12-25 01:28:02 +00:00
parent db483616db
commit 5a1a527f16
No known key found for this signature in database
GPG Key ID: C34BF9DCC9DF8210
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{ lib, ... }:
{ config, lib, ... }:
{
hardware.facetimehd.enable = lib.mkDefault (config.nixpkgs.config.allowUnfree or false);
services.mbpfan.enable = lib.mkDefault true;
}