summaryrefslogtreecommitdiffstats
path: root/apple
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-25 01:28:02 +0000
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-25 01:28:02 +0000
commit5a1a527f1600d5132d255423cd2238e33c32ff5b (patch)
tree9cd0501f131300da710da5b23f17cc7cbb10ff28 /apple
parentdb483616db2f283fd422b02520b1ba2a0cedba88 (diff)
apple: enable facetimehd if allowUnfree = true
Diffstat (limited to 'apple')
-rw-r--r--apple/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/apple/default.nix b/apple/default.nix
index 6fa8e5d..9035883 100644
--- a/apple/default.nix
+++ b/apple/default.nix
@@ -1,5 +1,6 @@
-{ lib, ... }:
+{ config, lib, ... }:
{
+ hardware.facetimehd.enable = lib.mkDefault (config.nixpkgs.config.allowUnfree or false);
services.mbpfan.enable = lib.mkDefault true;
}