1 { config, lib, pkgs, ... }:
6 meta.maintainers = [ maintainers.league ];
14 description = lib.mdDoc ''
15 Whether to configure system to use gphoto2.
16 To grant digital camera access to a user, the user must
17 be part of the camera group:
18 `users.users.alice.extraGroups = ["camera"];`
25 config = mkIf config.programs.gphoto2.enable {
26 services.udev.packages = [ pkgs.libgphoto2 ];
27 environment.systemPackages = [ pkgs.gphoto2 ];
28 users.groups.camera = {};