mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(octoprint): motion and notifs
This commit is contained in:
parent
6bf729ffe9
commit
7fe6d48ff0
11 changed files with 263 additions and 47 deletions
12
nixos/cameras/logistics-webcam.nix
Normal file
12
nixos/cameras/logistics-webcam.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
gensokyo-zone,
|
||||
...
|
||||
}: let
|
||||
inherit (gensokyo-zone.lib) mapDefaults;
|
||||
in {
|
||||
services.motion.cameras.webcam.settings = mapDefaults {
|
||||
videodevice = "/dev/video0";
|
||||
camera_id = 3;
|
||||
text_left = "logistics";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue