Iot : Fix display.
This commit is contained in:
parent
bc426526cf
commit
983d55e51b
|
@ -1,4 +1,4 @@
|
||||||
{ container, lib, config, ... }: with lib; let
|
{ container, lib, config, pkgsStable, ... }: with lib; let
|
||||||
cfg = config.container.module.iot;
|
cfg = config.container.module.iot;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
|
@ -70,7 +70,6 @@ in {
|
||||||
aiodiscover
|
aiodiscover
|
||||||
aiogithubapi
|
aiogithubapi
|
||||||
async-upnp-client
|
async-upnp-client
|
||||||
# ha-av
|
|
||||||
ha-ffmpeg
|
ha-ffmpeg
|
||||||
hassil
|
hassil
|
||||||
home-assistant-intents
|
home-assistant-intents
|
||||||
|
|
|
@ -147,7 +147,7 @@ in {
|
||||||
requires = [ "network.target" ];
|
requires = [ "network.target" ];
|
||||||
path = with pkgs; [ iptables ];
|
path = with pkgs; [ iptables ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "iptables -t mangle -I POSTROUTING -p tcp -m multiport --dports 80,443 -m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes 1:6 -m mark ! --mark 0x40000000/0x40000000 -j NFQUEUE --queue-num 200 --queue-bypass";
|
ExecStart = "${pkgs.iptables}/bin/iptables -t mangle -I POSTROUTING -p tcp -m multiport --dports 80,443 -m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes 1:6 -m mark ! --mark 0x40000000/0x40000000 -j NFQUEUE --queue-num 200 --queue-bypass";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue