diff options
author | Ben Sima <ben@bsima.me> | 2020-11-13 08:21:13 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-11-13 08:23:30 -0800 |
commit | 37a5d838be7a0778036dbb10ca302536190f19b4 (patch) | |
tree | 26726bae0b013e5093aad51994eb47141e444375 | |
parent | 890e44ebcc11c48f7347aa60748a84c48261aa5e (diff) |
Format some ports for readability
-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 = { |