summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-13 13:33:18 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-13 13:33:18 +0200
commitc5d0ef5e4a8eded023830dee47f5f0d253403f11 (patch)
treedce5febb93d3aa4ff8bd54a0eee01f026a10b139 /odin.nix
parentdb3d5eb181cce1158dea307dd824f1b0d95e7fa0 (diff)
downloadnixos-c5d0ef5e4a8eded023830dee47f5f0d253403f11.tar
nixos-c5d0ef5e4a8eded023830dee47f5f0d253403f11.tar.gz
nixos-c5d0ef5e4a8eded023830dee47f5f0d253403f11.tar.bz2
nixos-c5d0ef5e4a8eded023830dee47f5f0d253403f11.tar.xz
nixos-c5d0ef5e4a8eded023830dee47f5f0d253403f11.zip
stream hlidskjalf
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index b9d3a9be..33c6cb0a 100644
--- a/odin.nix
+++ b/odin.nix
@@ -63,6 +63,8 @@
63 allowedTCPPorts = [ 22 # ssh 63 allowedTCPPorts = [ 22 # ssh
64 139 445 # samba 64 139 445 # samba
65 ]; 65 ];
66 allowedTCPPortRanges = [ { from = 8081; to = 8081; } # motion
67 ];
66 allowedUDPPorts = [ 137 138 ]; # samba 68 allowedUDPPorts = [ 137 138 ]; # samba
67 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh 69 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh
68 ]; 70 ];
@@ -247,6 +249,7 @@
247 stream_motion on 249 stream_motion on
248 250
249 webcontrol_port 0 251 webcontrol_port 0
252 ipv6_enabled on
250 ''; 253 '';
251 254
252 configFiles = [ "/etc/motion/motion.secret" ]; 255 configFiles = [ "/etc/motion/motion.secret" ];