mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
Using facetimehd on NixOS is as easy as 1-2-3 ;-)
@@ -7,6 +7,7 @@ Getting the driver working is two steps:
|
||||
|
||||
* [Firmware extraction](#firmware-extraction): Run the script to download and install the firmware from Apple.
|
||||
Gentoo users using the [ebuild](#get-started-on-gentoo) skip this step.
|
||||
[NixOS](http://nixos.org/) users can also skip this step.
|
||||
* [Installation](#installation): Installing the driver itself.
|
||||
|
||||
See [Additional Notes](#additional-notes) below in case you come across any issues.
|
||||
@@ -47,6 +48,7 @@ Now continue with one of
|
||||
* [Arch](#get-started-on-arch)
|
||||
* [Gentoo](#get-started-on-gentoo)
|
||||
* [OpenSUSE](#get-started-on-opensuse)
|
||||
* [NixOS](#get-started-on-nixos)
|
||||
|
||||
## Get Started on Fedora
|
||||
Tested on Fedora 23. - Extract firmware file as described in [Firmware extraction](#firmware-extraction)
|
||||
@@ -192,6 +194,22 @@ zypper install mplayer
|
||||
|
||||
IF YOU ENCOUNTER ANY ISSUES LOOK AT THE "ADDITIONAL NOTES" SECTION ON THE BOTTOM OF THIS PAGE OR REPORT AN ISSUE
|
||||
|
||||
## Get Started on NixOS
|
||||
|
||||
[NixOS](http://nixos.org/) has built-in facetimehd support starting 16.03. Enabling the [NixOS module](https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/video/webcam/facetimehd.nix) will extract the firmware online, blacklist bdc_pci and add rmmod/modprobe hooks during suspend.
|
||||
|
||||
1. Make sure the following lines (or its equivalent) are in `/etc/nixos/configuration.nix`
|
||||
|
||||
```
|
||||
hardware.facetimehd.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
```
|
||||
|
||||
2. Execute `nixos-rebuild boot` to rebuild the configuration
|
||||
3. Reboot
|
||||
|
||||
IF YOU ENCOUNTER ANY ISSUES LOOK AT THE "ADDITIONAL NOTES" SECTION ON THE BOTTOM OF THIS PAGE OR REPORT AN ISSUE
|
||||
|
||||
# Additional Notes
|
||||
|
||||
## /dev/video not created
|
||||
|
||||
Reference in New Issue
Block a user