diff options
Diffstat (limited to 'Biz/Dev')
-rw-r--r-- | Biz/Dev/Configuration.nix | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Biz/Dev/Configuration.nix b/Biz/Dev/Configuration.nix index 70c2d36..c0c9e0a 100644 --- a/Biz/Dev/Configuration.nix +++ b/Biz/Dev/Configuration.nix @@ -1,8 +1,12 @@ { config, lib, pkgs, ... }: let - murmurPort = 64738; - torrents = { from = 6000; to = 6999; }; + ports = { + murmur = 64738; + torrents = { from = 6000; to = 6999; }; + delugeWeb = 8112; + jellyfin = 8096; + }; in { networking = { hostName = "lithium"; @@ -15,17 +19,17 @@ in { 22 8000 8443 443 # standard ports 8080 8081 8082 # mostly for urbit 500 10000 # no idea - 8096 # emby/jellyfin - 8112 # deluge - murmurPort + ports.jellyfin + ports.delugeWeb + ports.murmur ]; allowedTCPPortRanges = [ { from = 3000; to = 3100; } # dev stuff - torrents + ports.torrents ]; - allowedUDPPorts = [ murmurPort ]; + allowedUDPPorts = [ ports.murmur ]; allowedUDPPortRanges = [ - torrents + ports.torrents ]; checkReversePath = false; }; @@ -134,7 +138,7 @@ in { enable = true; registerName = "simatime"; password = "simatime"; - port = murmurPort; + port = ports.murmur; }; xserver = { |