summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/odin.nix b/odin.nix
index d63554be..f34e1e99 100644
--- a/odin.nix
+++ b/odin.nix
@@ -62,11 +62,16 @@
62 allowPing = true; 62 allowPing = true;
63 allowedTCPPorts = [ 22 # ssh 63 allowedTCPPorts = [ 22 # ssh
64 139 445 # samba 64 139 445 # samba
65 111 2049 # nfs
65 ]; 66 ];
66 allowedTCPPortRanges = [ { from = 8080; to = 8080; } # motion 67 allowedTCPPortRanges = [ { from = 8080; to = 8080; } # motion
68 { from = 4000; to = 4002; } # nfs
67 ]; 69 ];
68 allowedUDPPorts = [ 137 138 ]; # samba 70 allowedUDPPorts = [ 137 138 # samba
71 111 2049 # nfs
72 ];
69 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh 73 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh
74 { from = 4000; to = 4002; } # nfs
70 ]; 75 ];
71 }; 76 };
72 77
@@ -264,6 +269,9 @@
264 exports = '' 269 exports = ''
265 /srv/media *(ro,insecure,all_squash,no_subtree_check,mp) 270 /srv/media *(ro,insecure,all_squash,no_subtree_check,mp)
266 ''; 271 '';
272 lockdPort = 4001;
273 mountdPort = 4002;
274 statdPort = 4000;
267 }; 275 };
268 276
269 system.autoUpgrade.enable = true; 277 system.autoUpgrade.enable = true;