Added RTSP cam script
This commit is contained in:
parent
534f8199f3
commit
8c1db38398
3 changed files with 107 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue