Add the v4l utilities to control webcam settings.

This commit is contained in:
Tom Alexander
2026-02-06 11:24:05 -05:00
parent ad88a526bc
commit 7ab1d4b9e1
5 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
webcam.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install webcam.";
};
};
config = lib.mkIf config.me.webcam.enable {
environment.systemPackages = with pkgs; [
v4l-utils
];
};
}