dev.fron.io nixrc / 1f182ee
hosts(delta): allow multicast to enable chromecast Tony Olagbaiye 14 days ago
3 changed file(s) with 10 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
6262 lidarr.extraGroups = [ "transmission" ];
6363 bazarr.extraGroups = [ "transmission" ];
6464 jackett.extraGroups = [ "transmission" ];
65 transmission.extraGroups = [ "transmission" ];
6665
6766 transmission = lib.mapAttrs (_: lib.mkForce) {
6867 inherit (hostConfig.users.users.bao) uid group;
68 } // {
69 extraGroups = [ "transmission" ];
6970 };
7071 };
7172 };
128128 };
129129 udpports = dag.entryBetween ["basic-icmp6" "basic-icmp" "ping6" "ping"] ["default"] {
130130 protocol = "udp"; field = "dport";
131 value = map (x: x+32768) (lib.genList (x: x+1) (65535-32768));
131 value = lib.range 32768 65535;
132 # chromecast: 32768-61000
132133 # mosh: 60000-65535
133 # chromecast: 32768-61000
134 policy = "accept";
135 };
136 multicast = dag.entryBetween ["basic-icmp6" "basic-icmp" "ping6" "ping"] ["default"] {
137 protocol = "meta"; field = "pkttype";
138 value = [ "broadcast" "multicast" ];
134139 policy = "accept";
135140 };
136141 mactelnet = dag.entryBetween ["basic-icmp6" "basic-icmp" "ping6" "ping"] ["default"] {
6262 field = lib.mkOption {
6363 default = null;
6464 type = with lib.types; nullOr (enum [
65 "dport" "sport" "daddr" "saddr" "type" "state" "iifname"
65 "dport" "sport" "daddr" "saddr" "type" "state" "iifname" "pkttype"
6666 ]);
6767 description = "Value to match.";
6868 };