summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-10 19:56:07 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-10 19:56:07 +0200
commit533b2c3eed315e70d822536bb49cc913e5fa02e1 (patch)
tree4b91e14b6498de4884f7bd23367cf7823647a9ae
parent1b4be457c9a8cc08951e2d3fd080ea63863a9280 (diff)
downloadnixos-533b2c3eed315e70d822536bb49cc913e5fa02e1.tar
nixos-533b2c3eed315e70d822536bb49cc913e5fa02e1.tar.gz
nixos-533b2c3eed315e70d822536bb49cc913e5fa02e1.tar.bz2
nixos-533b2c3eed315e70d822536bb49cc913e5fa02e1.tar.xz
nixos-533b2c3eed315e70d822536bb49cc913e5fa02e1.zip
ipcam02
-rw-r--r--odin.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index f19688d2..1d0e6d8f 100644
--- a/odin.nix
+++ b/odin.nix
@@ -298,6 +298,25 @@
298 ''; 298 '';
299 configFiles = [ "/etc/motion/cat-food.secret" ]; 299 configFiles = [ "/etc/motion/cat-food.secret" ];
300 } 300 }
301 {
302 extraConfig = ''
303 camera_name living-room
304
305 netcam_url mjpeg://ipcam02.hlidskjalf.yggdrasil:80/video2.mjpeg
306 netcam_keepalive on
307 width 1920
308 height 1080
309
310 stream_port 8081
311
312 despeckle_filter EedDl
313 threshold_tune on
314 noise_tune on
315 lightswitch 50
316 minimum_motion_frames 5
317 '';
318 configFiles = [ "/etc/motion/living-room.secret" ];
319 }
301 ]; 320 ];
302 321
303 extraConfig = '' 322 extraConfig = ''