2021-12-22 10:52:23 +01:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
2021-12-28 22:54:35 +01:00
|
|
|
|
{ ... }:
|
2021-12-22 10:52:23 +01:00
|
|
|
|
{
|
|
|
|
|
programs.droidcam.enable = true;
|
|
|
|
|
# required for USB connection
|
|
|
|
|
services.usbmuxd.enable = true;
|
2021-12-22 11:04:31 +01:00
|
|
|
|
environment.shellAliases = {
|
|
|
|
|
webcam = "droidcam-cli -size=1920x1080 ios 4747";
|
|
|
|
|
};
|
2021-12-22 10:52:23 +01:00
|
|
|
|
}
|
|
|
|
|
|