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

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;
}