Main
This commit is contained in:
parent
fc0abdd4bb
commit
aca73cdd0f
73 changed files with 3873 additions and 381 deletions
|
|
@ -1,3 +1,13 @@
|
|||
# Camera GUI module
|
||||
#
|
||||
# Provides:
|
||||
# - Camera GUI package (default: snapshot)
|
||||
# - libcamera (always installed, required backend)
|
||||
#
|
||||
# Notes:
|
||||
# - You can override the GUI package with another (e.g., cheese, kamoso)
|
||||
#
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
|
|
@ -9,12 +19,16 @@ in
|
|||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.camera;
|
||||
description = "Package to install for camera.";
|
||||
default = pkgs.snapshot;
|
||||
example = pkgs.cheese;
|
||||
description = "Camera GUI package to install.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ cfg.package ];
|
||||
home.packages = [
|
||||
cfg.package
|
||||
pkgs.libcamera
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue