Added RTSP cam script

This commit is contained in:
fwastring 2026-03-29 14:30:34 +02:00
parent 534f8199f3
commit 8c1db38398
3 changed files with 107 additions and 0 deletions

View file

@ -26,6 +26,7 @@ in
(modulesDirectory + /sound.nix)
(modulesDirectory + /services/base)
(modulesDirectory + /services/webcam-rtsp)
(modulesDirectory + /programs/hyprland)
(modulesDirectory + /programs/kubernetes-tools.nix)
@ -46,6 +47,14 @@ in
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${theme}.yaml";
};
webcam-rtsp = {
enable = true;
device = "/dev/v4l/by-id/usb-GENERAL_GENERAL_WEBCAM-video-index0";
rtspUrl = "rtsp://192.168.1.143:8554/laptop";
framerate = 30;
videoSize = "1280x720";
};
nixvim = {
enable = true;
theme = theme;